diff options
author | Paul Mundt <lethal@linux-sh.org> | 2007-06-06 22:32:52 -0400 |
---|---|---|
committer | Paul Mundt <lethal@hera.kernel.org> | 2007-06-07 22:43:51 -0400 |
commit | 33d63bd83bf9aa6b662a376a96b825acba721e8f (patch) | |
tree | 469eadf218a6e435b06eb151c88340c0adb7b83e /arch/sh/mm/Kconfig | |
parent | 05a117847b43d44f336bbf272a1063661431a5e5 (diff) |
sh: memory hot-add for sparsemem users support.
This enables simple hotplug support for sparsemem users. Presently
this only permits memory being added in to node 0 on ZONE_NORMAL.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/mm/Kconfig')
-rw-r--r-- | arch/sh/mm/Kconfig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/sh/mm/Kconfig b/arch/sh/mm/Kconfig index c713d13fcca9..0c24abdd4ea1 100644 --- a/arch/sh/mm/Kconfig +++ b/arch/sh/mm/Kconfig | |||
@@ -331,6 +331,14 @@ config ARCH_POPULATES_NODE_MAP | |||
331 | config ARCH_SELECT_MEMORY_MODEL | 331 | config ARCH_SELECT_MEMORY_MODEL |
332 | def_bool y | 332 | def_bool y |
333 | 333 | ||
334 | config ARCH_ENABLE_MEMORY_HOTPLUG | ||
335 | def_bool y | ||
336 | depends on SPARSEMEM | ||
337 | |||
338 | config ARCH_MEMORY_PROBE | ||
339 | def_bool y | ||
340 | depends on MEMORY_HOTPLUG | ||
341 | |||
334 | choice | 342 | choice |
335 | prompt "Kernel page size" | 343 | prompt "Kernel page size" |
336 | default PAGE_SIZE_4KB | 344 | default PAGE_SIZE_4KB |