Add in the requisite arch specific Kconfig options to enable the use of the sparsemem implementation for NUMA enabled kernels on x86-64. Signed-off-by: Matt Tolentino Signed-off-by: Dave Hansen --- memhotplug-dave/arch/x86_64/Kconfig | 18 ++++++++++++++++++ 1 files changed, 18 insertions(+) diff -puN arch/x86_64/Kconfig~B-sparse-191-x86_64-b-kconfig_additions arch/x86_64/Kconfig --- memhotplug/arch/x86_64/Kconfig~B-sparse-191-x86_64-b-kconfig_additions 2005-03-11 10:52:29.000000000 -0800 +++ memhotplug-dave/arch/x86_64/Kconfig 2005-03-11 10:52:29.000000000 -0800 @@ -291,6 +291,24 @@ config NUMA bool default n +config ARCH_DISCONTIGMEM_ENABLE + def_bool y + depends on NUMA + +config ARCH_DISCONTIGMEM_DEFAULT + def_bool y + depends on NUMA + +config ARCH_SPARSEMEM_ENABLE + def_bool y + depends on NUMA + +config ARCH_FLATMEM_DISABLE + def_bool y + depends on NUMA + +source "mm/Kconfig" + config HAVE_DEC_LOCK bool depends on SMP _