Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

memblock: kill "config MAX_ACTIVE_REGIONS"

The Kconfig symbol MAX_ACTIVE_REGIONS is unused. Commit
0ee332c1451869963626bf9cac88f165a90990e1 ("memblock: Kill
early_node_map[]") removed the only place were it was actually used. But
it did not remove its Kconfig entries (for powerpc and sh).

Remove those two entries (and the entry for metag, that popped up in
v3.9-rc1).

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
Acked-by: Paul Mundt <lethal@linux-sh.org>
Acked-by: James Hogan <james.hogan@imgtec.com>
Signed-off-by: Michael Ellerman <michael@ellerman.id.au>

authored by

Paul Bolle and committed by
Michael Ellerman
45b02f8d 933ee711

-17
-5
arch/metag/mm/Kconfig
··· 93 93 config ARCH_SPARSEMEM_DEFAULT 94 94 def_bool y 95 95 96 - config MAX_ACTIVE_REGIONS 97 - int 98 - default "2" if SPARSEMEM 99 - default "1" 100 - 101 96 config ARCH_POPULATES_NODE_MAP 102 97 def_bool y 103 98
-5
arch/powerpc/Kconfig
··· 428 428 default "4" 429 429 depends on NEED_MULTIPLE_NODES 430 430 431 - config MAX_ACTIVE_REGIONS 432 - int 433 - default "256" if PPC64 434 - default "32" 435 - 436 431 config ARCH_SELECT_MEMORY_MODEL 437 432 def_bool y 438 433 depends on PPC64
-7
arch/sh/mm/Kconfig
··· 137 137 config ARCH_SPARSEMEM_DEFAULT 138 138 def_bool y 139 139 140 - config MAX_ACTIVE_REGIONS 141 - int 142 - default "6" if (CPU_SUBTYPE_SHX3 && SPARSEMEM) 143 - default "2" if SPARSEMEM && (CPU_SUBTYPE_SH7722 || \ 144 - CPU_SUBTYPE_SH7785) 145 - default "1" 146 - 147 140 config ARCH_SELECT_MEMORY_MODEL 148 141 def_bool y 149 142