diff options
author | Paul Mundt <lethal@linux-sh.org> | 2008-09-17 10:13:27 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2008-09-17 10:13:27 -0400 |
commit | b85641bdde340f683e5baa7688832e185548c9bd (patch) | |
tree | 72c8bf352ea2bab685d83d5f99ee7ec7293dcfd3 /arch/sh | |
parent | b3d765f5df5707e2b3676768b6877db5d8db76a2 (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')
-rw-r--r-- | arch/sh/mm/Kconfig | 4 |
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 | ||
133 | config ARCH_ENABLE_MEMORY_HOTPLUG | 133 | config ARCH_ENABLE_MEMORY_HOTPLUG |
134 | def_bool y | 134 | def_bool y |
135 | depends on SPARSEMEM | 135 | depends on SPARSEMEM && MMU |
136 | 136 | ||
137 | config ARCH_ENABLE_MEMORY_HOTREMOVE | 137 | config ARCH_ENABLE_MEMORY_HOTREMOVE |
138 | def_bool y | 138 | def_bool y |
139 | depends on SPARSEMEM | 139 | depends on SPARSEMEM && MMU |
140 | 140 | ||
141 | config ARCH_MEMORY_PROBE | 141 | config ARCH_MEMORY_PROBE |
142 | def_bool y | 142 | def_bool y |