aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/mm/Kconfig
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2007-05-23 04:48:36 -0400
committerPaul Mundt <lethal@hera.kernel.org>2007-06-07 22:43:43 -0400
commitdfbb9042801eaeb4df9015bb86224291a39a0f52 (patch)
treefc762c923fbc48bd724e648ccb415307ba17086c /arch/sh/mm/Kconfig
parent5900711ad7173b1cf3ee72eb21572e20b263ca0d (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/Kconfig10
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
300config ARCH_FLATMEM_ENABLE 300config ARCH_FLATMEM_ENABLE
301 def_bool y 301 def_bool y
302 302
303config ARCH_SPARSEMEM_ENABLE
304 def_bool y
305 select SPARSEMEM_STATIC
306
307config ARCH_SPARSEMEM_DEFAULT
308 def_bool y
309
303config MAX_ACTIVE_REGIONS 310config MAX_ACTIVE_REGIONS
304 int 311 int
305 default "1" 312 default "1"
@@ -307,6 +314,9 @@ config MAX_ACTIVE_REGIONS
307config ARCH_POPULATES_NODE_MAP 314config ARCH_POPULATES_NODE_MAP
308 def_bool y 315 def_bool y
309 316
317config ARCH_SELECT_MEMORY_MODEL
318 def_bool y
319
310choice 320choice
311 prompt "Kernel page size" 321 prompt "Kernel page size"
312 default PAGE_SIZE_4KB 322 default PAGE_SIZE_4KB