sh: Truncate MAX_ACTIVE_REGIONS for the common case.
authorPaul Mundt <lethal@linux-sh.org>
Wed, 9 May 2007 04:20:52 +0000 (13:20 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 9 May 2007 04:20:52 +0000 (13:20 +0900)
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 <lethal@linux-sh.org>
arch/sh/mm/Kconfig

index b773361892c9a959b6e090355594bf7b8ecd498f..253346d7b316fc1bd3a934f6e37c8b038c18a303 100644 (file)
@@ -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