summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/i386/Kconfig2
-rw-r--r--mm/Kconfig4
2 files changed, 5 insertions, 1 deletions
diff --git a/arch/i386/Kconfig b/arch/i386/Kconfig
index a8128f997339..3b7248126d29 100644
--- a/arch/i386/Kconfig
+++ b/arch/i386/Kconfig
@@ -793,7 +793,7 @@ config HAVE_ARCH_BOOTMEM_NODE
depends on NUMA
default y
-config HAVE_MEMORY_PRESENT
+config ARCH_HAVE_MEMORY_PRESENT
bool
depends on DISCONTIGMEM
default y
diff --git a/mm/Kconfig b/mm/Kconfig
index 8283685f3bb3..5127441561b4 100644
--- a/mm/Kconfig
+++ b/mm/Kconfig
@@ -53,3 +53,7 @@ config FLATMEM
config NEED_MULTIPLE_NODES
def_bool y
depends on DISCONTIGMEM || NUMA
+
+config HAVE_MEMORY_PRESENT
+ def_bool y
+ depends on ARCH_HAVE_MEMORY_PRESENT