x86: add memory hotremove config option
authorGary Hade <garyhade@us.ibm.com>
Fri, 31 Oct 2008 17:52:03 +0000 (10:52 -0700)
committerIngo Molnar <mingo@elte.hu>
Mon, 3 Nov 2008 09:03:38 +0000 (10:03 +0100)
Impact: enable CONFIG_MEMORY_HOTREMOVE feature on x86. (default-off)

Memory hotremove functionality can currently be configured into
the ia64, powerpc, and s390 kernels.

This patch makes it possible to configure the memory hotremove
functionality into the x86 kernel as well.

Signed-off-by: Badari Pulavarty <pbadari@us.ibm.com>
Signed-off-by: Gary Hade <garyhade@us.ibm.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/Kconfig

index c00aefc..25e7115 100644 (file)
@@ -1492,6 +1492,10 @@ config ARCH_ENABLE_MEMORY_HOTPLUG
        def_bool y
        depends on X86_64 || (X86_32 && HIGHMEM)
 
+config ARCH_ENABLE_MEMORY_HOTREMOVE
+       def_bool y
+       depends on MEMORY_HOTPLUG
+
 config HAVE_ARCH_EARLY_PFN_TO_NID
        def_bool X86_64
        depends on NUMA