Skip to content

Commit

Permalink
memblock: kill "config MAX_ACTIVE_REGIONS"
Browse files Browse the repository at this point in the history
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 <[email protected]>
Acked-by: Paul Mundt <[email protected]>
Acked-by: James Hogan <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
  • Loading branch information
pebolle authored and mpe committed Apr 18, 2013
1 parent 933ee71 commit 45b02f8
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 17 deletions.
5 changes: 0 additions & 5 deletions arch/metag/mm/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -93,11 +93,6 @@ config ARCH_SPARSEMEM_ENABLE
config ARCH_SPARSEMEM_DEFAULT
def_bool y

config MAX_ACTIVE_REGIONS
int
default "2" if SPARSEMEM
default "1"

config ARCH_POPULATES_NODE_MAP
def_bool y

Expand Down
5 changes: 0 additions & 5 deletions arch/powerpc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -428,11 +428,6 @@ config NODES_SHIFT
default "4"
depends on NEED_MULTIPLE_NODES

config MAX_ACTIVE_REGIONS
int
default "256" if PPC64
default "32"

config ARCH_SELECT_MEMORY_MODEL
def_bool y
depends on PPC64
Expand Down
7 changes: 0 additions & 7 deletions arch/sh/mm/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -137,13 +137,6 @@ config ARCH_SPARSEMEM_ENABLE
config ARCH_SPARSEMEM_DEFAULT
def_bool y

config MAX_ACTIVE_REGIONS
int
default "6" if (CPU_SUBTYPE_SHX3 && SPARSEMEM)
default "2" if SPARSEMEM && (CPU_SUBTYPE_SH7722 || \
CPU_SUBTYPE_SH7785)
default "1"

config ARCH_SELECT_MEMORY_MODEL
def_bool y

Expand Down

0 comments on commit 45b02f8

Please sign in to comment.