Arch-independent zone-sizing is using indices instead of symbolic namesto offset within an array related to zones (max_zone_pfns). The unintendedimpact is that ZONE_DMA and ZONE_NORMAL is initialised on powerpc insteadof ZONE_DMA and ZONE_HIGHMEM when CONFIG_HIGHMEM is set. As a result, thethe machine fails to boot but will boot with CONFIG_HIGHMEM turned off.

The following patch properly initialises the max_zone_pfns[] array and usessymbolic names instead of indices in each architecture using arch-independentzone-sizing. Two users have successfully booted their powerpcs with it(one an ibook G4). It has also been boot tested on x86, x86_64, ppc64 andia64. Please merge for 2.6.19-rc2.

Credit to Benjamin Herrenschmidt for identifying the bug and rolling thefirst fix. Additional credit to Johannes Berg and Andreas Schwab for reportingthe problem and testing on powerpc.