summaryrefslogtreecommitdiffstats
path: root/arch/sh/mm
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2007-08-01 17:52:47 +0900
committerPaul Mundt <lethal@linux-sh.org>2007-09-21 11:57:47 +0900
commit7da3b8ef662af6252aa17c55cc0aa6d74cbf02e4 (patch)
tree2a1cacd022ef472c38e0c7f5eb4a0bfcc0d79d69 /arch/sh/mm
parent1ee010087e2d26f0d8182bb189d5606e3586253c (diff)
downloadop-kernel-dev-7da3b8ef662af6252aa17c55cc0aa6d74cbf02e4.zip
op-kernel-dev-7da3b8ef662af6252aa17c55cc0aa6d74cbf02e4.tar.gz
sh: Initial multiple-node support for SH-X3.
Wire up CPU#0 URAM as node 1 on SH-X3. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/mm')
-rw-r--r--arch/sh/mm/Kconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/sh/mm/Kconfig b/arch/sh/mm/Kconfig
index d1a7e3f..eca68da 100644
--- a/arch/sh/mm/Kconfig
+++ b/arch/sh/mm/Kconfig
@@ -198,6 +198,8 @@ config CPU_SUBTYPE_SHX3
select CPU_SH4A
select CPU_SHX3
select CPU_HAS_INTC_IRQ
+ select ARCH_SPARSEMEM_ENABLE
+ select SYS_SUPPORTS_NUMA
# SH4AL-DSP Processor Support
@@ -323,6 +325,7 @@ config ARCH_SPARSEMEM_DEFAULT
config MAX_ACTIVE_REGIONS
int
+ default "6" if (CPU_SUBTYPE_SHX3 && SPARSEMEM)
default "2" if (CPU_SUBTYPE_SH7722 && SPARSEMEM)
default "1"
OpenPOWER on IntegriCloud