mm: fix sparsemem configuration
Currently, sparsemem is only available if EXPERIMENTAL is enabled. However, it hasn't ever been marked experimental. It's been about four years since sparsemem was merged, and we have platforms which depend on it; allow architectures to decide whether sparsemem should be the default memory model. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
c2494ace99
commit
1a83e175dc
|
@ -67,7 +67,7 @@ config DISCONTIGMEM
|
||||||
|
|
||||||
config SPARSEMEM
|
config SPARSEMEM
|
||||||
def_bool y
|
def_bool y
|
||||||
depends on SPARSEMEM_MANUAL
|
depends on (!SELECT_MEMORY_MODEL && ARCH_SPARSEMEM_ENABLE) || SPARSEMEM_MANUAL
|
||||||
|
|
||||||
config FLATMEM
|
config FLATMEM
|
||||||
def_bool y
|
def_bool y
|
||||||
|
|
Loading…
Reference in New Issue