aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2007-09-27 03:48:00 -0400
committerPaul Mundt <lethal@linux-sh.org>2007-09-27 03:48:00 -0400
commitdc47e9dd419df6c73a0c57b47fd8e0742dbe3424 (patch)
tree7aee4731c2dd091afe8aa8ebcd441265f01d2093
parentf72abd0a4c3298912c03befa41660d03a2e3321d (diff)
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>
-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
317config MAX_ACTIVE_REGIONS 317config MAX_ACTIVE_REGIONS
318 int 318 int
319 default "6" if (CPU_SUBTYPE_SHX3 && SPARSEMEM) 319 default "6" if (CPU_SUBTYPE_SHX3 && SPARSEMEM)
320 default "2" if (CPU_SUBTYPE_SH7722 && SPARSEMEM) 320 default "2" if SPARSEMEM && (CPU_SUBTYPE_SH7722 || \
321 CPU_SUBTYPE_SH7785)
321 default "1" 322 default "1"
322 323
323config ARCH_POPULATES_NODE_MAP 324config ARCH_POPULATES_NODE_MAP