summaryrefslogtreecommitdiff
path: root/arch/sh/mm/Kconfig
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2007-06-07 02:32:52 (GMT)
committerPaul Mundt <lethal@hera.kernel.org>2007-06-08 02:43:51 (GMT)
commit33d63bd83bf9aa6b662a376a96b825acba721e8f (patch)
tree469eadf218a6e435b06eb151c88340c0adb7b83e /arch/sh/mm/Kconfig
parent05a117847b43d44f336bbf272a1063661431a5e5 (diff)
downloadlinux-33d63bd83bf9aa6b662a376a96b825acba721e8f.tar.xz
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/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/sh/mm/Kconfig b/arch/sh/mm/Kconfig
index c713d13..0c24abd 100644
--- a/arch/sh/mm/Kconfig
+++ b/arch/sh/mm/Kconfig
@@ -331,6 +331,14 @@ config ARCH_POPULATES_NODE_MAP
config ARCH_SELECT_MEMORY_MODEL
def_bool y
+config ARCH_ENABLE_MEMORY_HOTPLUG
+ def_bool y
+ depends on SPARSEMEM
+
+config ARCH_MEMORY_PROBE
+ def_bool y
+ depends on MEMORY_HOTPLUG
+
choice
prompt "Kernel page size"
default PAGE_SIZE_4KB