mm: move bootmem descriptors definition to a single place
authorJohannes Weiner <[email protected]>
Thu, 24 Jul 2008 04:26:55 +0000 (21:26 -0700)
committerLinus Torvalds <[email protected]>
Thu, 24 Jul 2008 17:47:14 +0000 (10:47 -0700)
commitb61bfa3c462671c48a51fb5c31af337c5a996a04
tree020363fd43a85ddde9998759150b428ee794dae6
parent8b05c7e6e159d2f33c9275281b8b909a89eb7c5d
mm: move bootmem descriptors definition to a single place

There are a lot of places that define either a single bootmem descriptor or an
array of them.  Use only one central array with MAX_NUMNODES items instead.

Signed-off-by: Johannes Weiner <[email protected]>
Acked-by: Ralf Baechle <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Richard Henderson <[email protected]>
Cc: Russell King <[email protected]>
Cc: Tony Luck <[email protected]>
Cc: Hirokazu Takata <[email protected]>
Cc: Geert Uytterhoeven <[email protected]>
Cc: Kyle McMartin <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Paul Mundt <[email protected]>
Cc: David S. Miller <[email protected]>
Cc: Yinghai Lu <[email protected]>
Cc: Christoph Lameter <[email protected]>
Cc: Mel Gorman <[email protected]>
Cc: Andy Whitcroft <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
15 files changed:
arch/alpha/mm/numa.c
arch/arm/mm/discontig.c
arch/ia64/mm/discontig.c
arch/m32r/mm/discontig.c
arch/m68k/mm/init.c
arch/mips/sgi-ip27/ip27-memory.c
arch/parisc/mm/init.c
arch/powerpc/mm/numa.c
arch/sh/mm/numa.c
arch/sparc64/mm/init.c
arch/x86/mm/discontig_32.c
arch/x86/mm/numa_64.c
include/linux/bootmem.h
mm/bootmem.c
mm/page_alloc.c