[PATCH] reduce MAX_NR_ZONES: fix MAX_NR_ZONES array initializations
authorChristoph Lameter <clameter@sgi.com>
Tue, 26 Sep 2006 06:31:10 +0000 (23:31 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 26 Sep 2006 15:48:46 +0000 (08:48 -0700)
commitf06a96844a577c43249fce25809a4fae07407f46
tree57fd0fdbfbcce081d27d5595de2886b748b8bb49
parent776ed98b842ee8551793f842fe028c8091f3633e
[PATCH] reduce MAX_NR_ZONES: fix MAX_NR_ZONES array initializations

Fix array initialization in lots of arches

The number of zones may now be reduced from 4 to 2 for many arches.  Fix the
array initialization for the zones array for all architectures so that it is
not initializing a fixed number of elements.

Signed-off-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/alpha/mm/init.c
arch/frv/mm/init.c
arch/h8300/mm/init.c
arch/i386/kernel/setup.c
arch/i386/mm/discontig.c
arch/m32r/mm/init.c
arch/m68knommu/mm/init.c
arch/mips/mm/init.c
arch/mips/sgi-ip27/ip27-memory.c
arch/parisc/mm/init.c
arch/sh64/mm/init.c