summaryrefslogtreecommitdiffstats
path: root/arch/sh
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2007-09-27 09:48:00 +0200
committerPaul Mundt <lethal@linux-sh.org>2007-09-27 09:48:00 +0200
commitdc47e9dd419df6c73a0c57b47fd8e0742dbe3424 (patch)
tree7aee4731c2dd091afe8aa8ebcd441265f01d2093 /arch/sh
parentsh: Fix plat_irq_setup_pins() for SH7785. (diff)
downloadlinux-dc47e9dd419df6c73a0c57b47fd8e0742dbe3424.tar.xz
linux-dc47e9dd419df6c73a0c57b47fd8e0742dbe3424.zip
sh: Bump MAX_ACTIVE_REGIONS for SH7785.
When using URAM in NUMA mode another active region is needed. Bump this up so we don't trigger the region truncation in add_active_range(). Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh')
-rw-r--r--arch/sh/mm/Kconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/sh/mm/Kconfig b/arch/sh/mm/Kconfig
index d186c5067fad..ca5d2a440e97 100644
--- a/arch/sh/mm/Kconfig
+++ b/arch/sh/mm/Kconfig
@@ -317,7 +317,8 @@ config ARCH_SPARSEMEM_DEFAULT
config MAX_ACTIVE_REGIONS
int
default "6" if (CPU_SUBTYPE_SHX3 && SPARSEMEM)
- default "2" if (CPU_SUBTYPE_SH7722 && SPARSEMEM)
+ default "2" if SPARSEMEM && (CPU_SUBTYPE_SH7722 || \
+ CPU_SUBTYPE_SH7785)
default "1"
config ARCH_POPULATES_NODE_MAP