]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
sh: Make memory hot-add and hot-remove depend on MMU.
authorPaul Mundt <lethal@linux-sh.org>
Wed, 17 Sep 2008 14:13:27 +0000 (23:13 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 17 Sep 2008 14:13:27 +0000 (23:13 +0900)
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>
arch/sh/mm/Kconfig

index f8e6dc5e056ff37e69ccf36cebf1bedd7f5bf839..555ec9714b9e042c6e5f6247515d5e0343021e83 100644 (file)
@@ -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