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-Url: http://drtracing.org/?a=commitdiff_plain;h=1ce7ddd5f4cc754b6afe9eec5cee89ede75348ea;p=deliverable%2Flinux.git 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 b773361892c9..253346d7b316 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