mm/memory_hotplug: add pgprot_t to mhp_params
[linux-2.6-microblaze.git] / mm / Kconfig
index 6910214..c1acc34 100644 (file)
@@ -139,6 +139,10 @@ config HAVE_FAST_GUP
 config ARCH_KEEP_MEMBLOCK
        bool
 
+# Keep arch NUMA mapping infrastructure post-init.
+config NUMA_KEEP_MEMINFO
+       bool
+
 config MEMORY_ISOLATION
        bool
 
@@ -154,6 +158,7 @@ config MEMORY_HOTPLUG
        bool "Allow for memory hot-add"
        depends on SPARSEMEM || X86_64_ACPI_NUMA
        depends on ARCH_ENABLE_MEMORY_HOTPLUG
+       select NUMA_KEEP_MEMINFO if NUMA
 
 config MEMORY_HOTPLUG_SPARSE
        def_bool y