Bladeren bron

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>
Paul Mundt 16 jaren geleden
bovenliggende
commit
b85641bdde
1 gewijzigde bestanden met toevoegingen van 2 en 2 verwijderingen
  1. 2 2
      arch/sh/mm/Kconfig

+ 2 - 2
arch/sh/mm/Kconfig

@@ -132,11 +132,11 @@ config ARCH_SELECT_MEMORY_MODEL
 
 
 config ARCH_ENABLE_MEMORY_HOTPLUG
 config ARCH_ENABLE_MEMORY_HOTPLUG
 	def_bool y
 	def_bool y
-	depends on SPARSEMEM
+	depends on SPARSEMEM && MMU
 
 
 config ARCH_ENABLE_MEMORY_HOTREMOVE
 config ARCH_ENABLE_MEMORY_HOTREMOVE
 	def_bool y
 	def_bool y
-	depends on SPARSEMEM
+	depends on SPARSEMEM && MMU
 
 
 config ARCH_MEMORY_PROBE
 config ARCH_MEMORY_PROBE
 	def_bool y
 	def_bool y