aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/mm
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2008-09-17 10:13:27 -0400
committerPaul Mundt <lethal@linux-sh.org>2008-09-17 10:13:27 -0400
commitb85641bdde340f683e5baa7688832e185548c9bd (patch)
tree72c8bf352ea2bab685d83d5f99ee7ec7293dcfd3 /arch/sh/mm
parentb3d765f5df5707e2b3676768b6877db5d8db76a2 (diff)
sh: Make memory hot-add and hot-remove depend on MMU.
Cleans up link numerous build issues with page migration and so on when enabled on nommu builds. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/mm')
-rw-r--r--arch/sh/mm/Kconfig4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sh/mm/Kconfig b/arch/sh/mm/Kconfig
index f8e6dc5e056f..555ec9714b9e 100644
--- a/arch/sh/mm/Kconfig
+++ b/arch/sh/mm/Kconfig
@@ -132,11 +132,11 @@ config ARCH_SELECT_MEMORY_MODEL
132 132
133config ARCH_ENABLE_MEMORY_HOTPLUG 133config ARCH_ENABLE_MEMORY_HOTPLUG
134 def_bool y 134 def_bool y
135 depends on SPARSEMEM 135 depends on SPARSEMEM && MMU
136 136
137config ARCH_ENABLE_MEMORY_HOTREMOVE 137config ARCH_ENABLE_MEMORY_HOTREMOVE
138 def_bool y 138 def_bool y
139 depends on SPARSEMEM 139 depends on SPARSEMEM && MMU
140 140
141config ARCH_MEMORY_PROBE 141config ARCH_MEMORY_PROBE
142 def_bool y 142 def_bool y