From: Russell King Date: Mon, 26 Oct 2009 23:50:12 +0000 (-0700) Subject: mm: fix sparsemem configuration X-Git-Tag: v3.0~7102 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1a83e175dc2c7be931a3ea9c7fb0769e6de55e90;p=platform%2Fkernel%2Flinux-amlogic.git 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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/mm/Kconfig b/mm/Kconfig index 57963c6..f791196c 100644 --- a/mm/Kconfig +++ b/mm/Kconfig @@ -67,7 +67,7 @@ config DISCONTIGMEM config SPARSEMEM def_bool y - depends on SPARSEMEM_MANUAL + depends on (!SELECT_MEMORY_MODEL && ARCH_SPARSEMEM_ENABLE) || SPARSEMEM_MANUAL config FLATMEM def_bool y