summaryrefslogtreecommitdiff
path: root/arch/sh/mm
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2008-09-17 23:13:27 +0900
committerPaul Mundt <lethal@linux-sh.org>2008-09-17 23:13:27 +0900
commitb85641bdde340f683e5baa7688832e185548c9bd (patch)
tree72c8bf352ea2bab685d83d5f99ee7ec7293dcfd3 /arch/sh/mm
parentb3d765f5df5707e2b3676768b6877db5d8db76a2 (diff)
downloadlinux-3.10-b85641bdde340f683e5baa7688832e185548c9bd.tar.gz
linux-3.10-b85641bdde340f683e5baa7688832e185548c9bd.tar.bz2
linux-3.10-b85641bdde340f683e5baa7688832e185548c9bd.zip
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 f8e6dc5e056..555ec9714b9 100644
--- a/arch/sh/mm/Kconfig
+++ b/arch/sh/mm/Kconfig
@@ -132,11 +132,11 @@ config ARCH_SELECT_MEMORY_MODEL
config ARCH_ENABLE_MEMORY_HOTPLUG
def_bool y
- depends on SPARSEMEM
+ depends on SPARSEMEM && MMU
config ARCH_ENABLE_MEMORY_HOTREMOVE
def_bool y
- depends on SPARSEMEM
+ depends on SPARSEMEM && MMU
config ARCH_MEMORY_PROBE
def_bool y