mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-02 15:18:19 +00:00
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>
This commit is contained in:
parent
b3d765f5df
commit
b85641bdde
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue