From dc47e9dd419df6c73a0c57b47fd8e0742dbe3424 Mon Sep 17 00:00:00 2001 From: Paul Mundt Date: Thu, 27 Sep 2007 16:48:00 +0900 Subject: [PATCH] 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 --- arch/sh/mm/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/sh/mm/Kconfig b/arch/sh/mm/Kconfig index d186c5067fa..ca5d2a440e9 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 -- 2.11.4.GIT