summaryrefslogtreecommitdiffstats
path: root/arch/sh/mm
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2007-09-27 16:48:00 +0900
committerPaul Mundt <lethal@linux-sh.org>2007-09-27 16:48:00 +0900
commitdc47e9dd419df6c73a0c57b47fd8e0742dbe3424 (patch)
tree7aee4731c2dd091afe8aa8ebcd441265f01d2093 /arch/sh/mm
parentf72abd0a4c3298912c03befa41660d03a2e3321d (diff)
downloadop-kernel-dev-dc47e9dd419df6c73a0c57b47fd8e0742dbe3424.zip
op-kernel-dev-dc47e9dd419df6c73a0c57b47fd8e0742dbe3424.tar.gz
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/mm')
-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 d186c50..ca5d2a4 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
OpenPOWER on IntegriCloud