From: Anton Blanchard On architectures that implement sparsemem but not discontigmem we want to be able to hide the flatmem option in some cases. On ppc64 for example, when we select NUMA we must not select flatmem. Signed-off-by: Anton Blanchard Signed-off-by: Andy Whitcroft Signed-off-by: Andrew Morton --- mm/Kconfig | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -puN mm/Kconfig~allow-flatmem-to-be-disabled-when-only-sparsemem-is-implemented mm/Kconfig --- 25/mm/Kconfig~allow-flatmem-to-be-disabled-when-only-sparsemem-is-implemented Tue Nov 15 16:25:39 2005 +++ 25-akpm/mm/Kconfig Tue Nov 15 16:25:39 2005 @@ -11,7 +11,7 @@ choice config FLATMEM_MANUAL bool "Flat Memory" - depends on !ARCH_DISCONTIGMEM_ENABLE || ARCH_FLATMEM_ENABLE + depends on !(ARCH_DISCONTIGMEM_ENABLE || ARCH_SPARSEMEM_ENABLE) || ARCH_FLATMEM_ENABLE help This option allows you to change some of the ways that Linux manages its memory internally. Most users will _