
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 <haveblue@us.ibm.com>
---

 memhotplug-dave/arch/i386/Kconfig |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletion(-)

diff -puN arch/i386/Kconfig~B-sparse-999-enable-i386-sparsemem-debug arch/i386/Kconfig
--- memhotplug/arch/i386/Kconfig~B-sparse-999-enable-i386-sparsemem-debug	2005-04-13 14:20:20.000000000 -0700
+++ memhotplug-dave/arch/i386/Kconfig	2005-04-13 14:20:20.000000000 -0700
@@ -795,9 +795,13 @@ config ARCH_DISCONTIGMEM_DEFAULT
 	def_bool y
 	depends on NUMA
 
+config X86_SPARSEMEM_DEBUG_NONUMA
+	bool "Enable SPARSEMEM on flat systems (debugging only)"
+	depends on !NUMA
+
 config ARCH_SPARSEMEM_ENABLE
 	def_bool y
-	depends on NUMA
+	depends on NUMA || X86_SPARSEMEM_DEBUG_NONUMA
 
 config SELECT_MEMORY_MODEL
 	def_bool y
_
