This is a quick hack to let us enable SPARSEMEM on systems that don't need it. This allows much wider testing, and also allows us to do hotplug memory testing on cheaper and much more plentiful non-hotplug hardware. Signed-off-by: Dave Hansen Index: linux-2.6.13/arch/i386/Kconfig =================================================================== --- linux-2.6.13.orig/arch/i386/Kconfig 2005-08-30 12:10:35.000000000 -0700 +++ linux-2.6.13/arch/i386/Kconfig 2005-08-30 12:10:44.000000000 -0700 @@ -791,9 +791,21 @@ config SIMULATED_MEM_HOTPLUG bool "Simulate memory hotplug on non-hotplug hardware" depends on EXPERIMENTAL && HIGHMEM +config X86_SPARSEMEM_DEBUG_NONUMA + bool "Enable SPARSEMEM on flat systems (debugging only)" + depends on !NUMA + +config ARCH_MEMORY_PROBE + def_bool y + depends on X86_SPARSEMEM_DEBUG_NONUMA + +config ARCH_SPARSEMEM_DEFAULT + def_bool y + depends on X86_SPARSEMEM_DEBUG_NONUMA + config ARCH_SPARSEMEM_ENABLE def_bool y - depends on NUMA + depends on NUMA || X86_SPARSEMEM_DEBUG_NONUMA config ARCH_SELECT_MEMORY_MODEL def_bool y