From: Paul Mundt Date: Wed, 9 May 2007 04:20:52 +0000 (+0900) Subject: sh: Truncate MAX_ACTIVE_REGIONS for the common case. X-Git-Tag: v2.6.22-rc1~143^2~3 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1ce7ddd5f4cc754b6afe9eec5cee89ede75348ea;p=linux-2.6 sh: Truncate MAX_ACTIVE_REGIONS for the common case. Most SH platforms aren't going to need more than a single active region, ones that need more can pad this out as necessary. Signed-off-by: Paul Mundt --- diff --git a/arch/sh/mm/Kconfig b/arch/sh/mm/Kconfig index b773361892..253346d7b3 100644 --- a/arch/sh/mm/Kconfig +++ b/arch/sh/mm/Kconfig @@ -303,6 +303,10 @@ config NODES_SHIFT config ARCH_FLATMEM_ENABLE def_bool y +config MAX_ACTIVE_REGIONS + int + default "1" + config ARCH_POPULATES_NODE_MAP def_bool y