From: Paul Mundt Date: Thu, 27 Sep 2007 07:48:00 +0000 (+0900) Subject: sh: Bump MAX_ACTIVE_REGIONS for SH7785. X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=dc47e9dd419df6c73a0c57b47fd8e0742dbe3424;p=linux-beck.git 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 --- 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