Skip to content

Commit 45b02f8

Browse files
pebollempe
authored andcommitted
memblock: kill "config MAX_ACTIVE_REGIONS"
The Kconfig symbol MAX_ACTIVE_REGIONS is unused. Commit 0ee332c ("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>
1 parent 933ee71 commit 45b02f8

3 files changed

Lines changed: 0 additions & 17 deletions

File tree

‎arch/metag/mm/Kconfig‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -93,11 +93,6 @@ config ARCH_SPARSEMEM_ENABLE
9393
config ARCH_SPARSEMEM_DEFAULT
9494
def_bool y
9595

96-
config MAX_ACTIVE_REGIONS
97-
int
98-
default "2" if SPARSEMEM
99-
default "1"
100-
10196
config ARCH_POPULATES_NODE_MAP
10297
def_bool y
10398

‎arch/powerpc/Kconfig‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -428,11 +428,6 @@ config NODES_SHIFT
428428
default "4"
429429
depends on NEED_MULTIPLE_NODES
430430

431-
config MAX_ACTIVE_REGIONS
432-
int
433-
default "256" if PPC64
434-
default "32"
435-
436431
config ARCH_SELECT_MEMORY_MODEL
437432
def_bool y
438433
depends on PPC64

‎arch/sh/mm/Kconfig‎

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -137,13 +137,6 @@ config ARCH_SPARSEMEM_ENABLE
137137
config ARCH_SPARSEMEM_DEFAULT
138138
def_bool y
139139

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-
147140
config ARCH_SELECT_MEMORY_MODEL
148141
def_bool y
149142

0 commit comments

Comments
 (0)