diff options
author | Christoph Hellwig <hch@lst.de> | 2018-07-31 13:39:29 +0200 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-08-02 08:03:23 +0900 |
commit | 17c46a6aff5c423f406adfb06eb832f771c06bd1 (patch) | |
tree | 545448a8d433617b66482c653daaa04aa239347a /arch/nios2/Kconfig | |
parent | 9bea18010f210dd24d2a4f2bd3df7b92132537ae (diff) | |
download | linux-17c46a6aff5c423f406adfb06eb832f771c06bd1.tar.gz linux-17c46a6aff5c423f406adfb06eb832f771c06bd1.tar.bz2 linux-17c46a6aff5c423f406adfb06eb832f771c06bd1.zip |
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 <hch@lst.de>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'arch/nios2/Kconfig')
-rw-r--r-- | arch/nios2/Kconfig | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/nios2/Kconfig b/arch/nios2/Kconfig index 3d4ec88f1db1..3f9d4ef8b20f 100644 --- a/arch/nios2/Kconfig +++ b/arch/nios2/Kconfig @@ -1,6 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 config NIOS2 def_bool y + select ARCH_NO_SWAP select TIMER_OF select GENERIC_ATOMIC64 select GENERIC_CLOCKEVENTS @@ -38,9 +39,6 @@ config HAS_DMA config FPU def_bool n -config SWAP - def_bool n - config RWSEM_GENERIC_SPINLOCK def_bool y |