diff options
author | Paul Mundt <lethal@linux-sh.org> | 2007-05-23 04:48:36 -0400 |
---|---|---|
committer | Paul Mundt <lethal@hera.kernel.org> | 2007-06-07 22:43:43 -0400 |
commit | dfbb9042801eaeb4df9015bb86224291a39a0f52 (patch) | |
tree | fc762c923fbc48bd724e648ccb415307ba17086c /arch/sh/mm/Kconfig | |
parent | 5900711ad7173b1cf3ee72eb21572e20b263ca0d (diff) |
sh: sparsemem support.
This implements basic sparsemem support for SH. Presently this only
uses static sparsemem, and we still permit explicit selection of
flatmem. Those boards that want sparsemem can select it as usual.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/mm/Kconfig')
-rw-r--r-- | arch/sh/mm/Kconfig | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/sh/mm/Kconfig b/arch/sh/mm/Kconfig index 00f64c41edba..46fd212b3ed6 100644 --- a/arch/sh/mm/Kconfig +++ b/arch/sh/mm/Kconfig | |||
@@ -300,6 +300,13 @@ config NODES_SHIFT | |||
300 | config ARCH_FLATMEM_ENABLE | 300 | config ARCH_FLATMEM_ENABLE |
301 | def_bool y | 301 | def_bool y |
302 | 302 | ||
303 | config ARCH_SPARSEMEM_ENABLE | ||
304 | def_bool y | ||
305 | select SPARSEMEM_STATIC | ||
306 | |||
307 | config ARCH_SPARSEMEM_DEFAULT | ||
308 | def_bool y | ||
309 | |||
303 | config MAX_ACTIVE_REGIONS | 310 | config MAX_ACTIVE_REGIONS |
304 | int | 311 | int |
305 | default "1" | 312 | default "1" |
@@ -307,6 +314,9 @@ config MAX_ACTIVE_REGIONS | |||
307 | config ARCH_POPULATES_NODE_MAP | 314 | config ARCH_POPULATES_NODE_MAP |
308 | def_bool y | 315 | def_bool y |
309 | 316 | ||
317 | config ARCH_SELECT_MEMORY_MODEL | ||
318 | def_bool y | ||
319 | |||
310 | choice | 320 | choice |
311 | prompt "Kernel page size" | 321 | prompt "Kernel page size" |
312 | default PAGE_SIZE_4KB | 322 | default PAGE_SIZE_4KB |