diff options
author | Paul Mundt <lethal@linux-sh.org> | 2007-03-28 03:38:13 -0400 |
---|---|---|
committer | Paul Mundt <lethal@hera.kernel.org> | 2007-05-06 22:10:54 -0400 |
commit | 01066625e9ae39742c92e21163f7f2a818e02762 (patch) | |
tree | c5b8a2a2c9de29ed13094891fce2b7f5769ffca7 /arch/sh/mm/Kconfig | |
parent | 759ab068c4d4216c4ad247bfa851601dfb6500dc (diff) |
sh: bootmem tidying for discontig/sparsemem preparation.
This reworks some of the node 0 bootmem initialization in
preparation for discontigmem and sparsemem support.
ARCH_POPULATES_NODE_MAP is switched to as a result of this.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/mm/Kconfig')
-rw-r--r-- | arch/sh/mm/Kconfig | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/sh/mm/Kconfig b/arch/sh/mm/Kconfig index 3cac22f50e15..5359f3dff93c 100644 --- a/arch/sh/mm/Kconfig +++ b/arch/sh/mm/Kconfig | |||
@@ -291,6 +291,17 @@ config VSYSCALL | |||
291 | For systems with an MMU that can afford to give up a page, | 291 | For systems with an MMU that can afford to give up a page, |
292 | (the default value) say Y. | 292 | (the default value) say Y. |
293 | 293 | ||
294 | config NODES_SHIFT | ||
295 | int | ||
296 | default "1" | ||
297 | depends on NEED_MULTIPLE_NODES | ||
298 | |||
299 | config ARCH_FLATMEM_ENABLE | ||
300 | def_bool y | ||
301 | |||
302 | config ARCH_POPULATES_NODE_MAP | ||
303 | def_bool y | ||
304 | |||
294 | choice | 305 | choice |
295 | prompt "Kernel page size" | 306 | prompt "Kernel page size" |
296 | default PAGE_SIZE_4KB | 307 | default PAGE_SIZE_4KB |