]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
sh: Bump MAX_ACTIVE_REGIONS for SH7785.
authorPaul Mundt <lethal@linux-sh.org>
Thu, 27 Sep 2007 07:48:00 +0000 (16:48 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Thu, 27 Sep 2007 07:48:00 +0000 (16:48 +0900)
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>
arch/sh/mm/Kconfig

index d186c5067faddc21baedbda486f63315da623be2..ca5d2a440e978decaaa7f0fa90bdf6a8260ea20c 100644 (file)
@@ -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