kconfig: remove duplicate SWAP symbol defintions

microblaze and nios2 define their own always n SWAP symbols.  Remove those
and let the generic defintion do the right thing by adding a new symbol
to disable swap entirely.

Signed-off-by: Christoph Hellwig <[email protected]>
Signed-off-by: Masahiro Yamada <[email protected]>
This commit is contained in:
Christoph Hellwig 2018-07-31 13:39:29 +02:00 • committed by Masahiro Yamada
commit 17c46a6aff
3 changed files with 10 additions and 7 deletions

View file

@ -1,5 +1,6 @@
config MICROBLAZE
def_bool y
select ARCH_NO_SWAP
select ARCH_HAS_GCOV_PROFILE_ALL
select ARCH_MIGHT_HAVE_PC_PARPORT
select ARCH_NO_COHERENT_DMA_MMAP if !MMU
@ -52,9 +53,6 @@ config CPU_LITTLE_ENDIAN
endchoice
config SWAP
def_bool n
config RWSEM_GENERIC_SPINLOCK
def_bool y