mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
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:
parent
9bea18010f
commit
17c46a6aff
3 changed files with 10 additions and 7 deletions
|
|
@ -218,9 +218,16 @@ config DEFAULT_HOSTNAME
|
|||
but you may wish to use a different default here to make a minimal
|
||||
system more usable with less configuration.
|
||||
|
||||
#
|
||||
# For some reason microblaze and nios2 hard code SWAP=n. Hopefully we can
|
||||
# add proper SWAP support to them, in which case this can be remove.
|
||||
#
|
||||
config ARCH_NO_SWAP
|
||||
bool
|
||||
|
||||
config SWAP
|
||||
bool "Support for paging of anonymous memory (swap)"
|
||||
depends on MMU && BLOCK
|
||||
depends on MMU && BLOCK && !ARCH_NO_SWAP
|
||||
default y
|
||||
help
|
||||
This option allows you to choose whether you want to have support
|
||||
|
|
|
|||
Loading…
Reference in a new issue