tmp_suning_uos_patched/arch/ia64
Mel Gorman 6391af174a [PATCH] mm: use symbolic names instead of indices for zone initialisation
Arch-independent zone-sizing is using indices instead of symbolic names to
offset within an array related to zones (max_zone_pfns).  The unintended
impact is that ZONE_DMA and ZONE_NORMAL is initialised on powerpc instead
of ZONE_DMA and ZONE_HIGHMEM when CONFIG_HIGHMEM is set.  As a result, the
the machine fails to boot but will boot with CONFIG_HIGHMEM turned off.

The following patch properly initialises the max_zone_pfns[] array and uses
symbolic names instead of indices in each architecture using
arch-independent zone-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 and ia64.  Please merge for 2.6.19-rc2.

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

Signed-off-by: Mel Gorman <mel@csn.ul.ie>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-10-11 11:14:14 -07:00
..
configs [PATCH] sgiioc4: Always share IRQ 2006-07-31 13:28:40 -07:00
dig [PATCH] tty: Remove include of screen_info.h from tty.h 2006-07-10 13:24:16 -07:00
hp [PATCH] ia64/hp NULL noise removal 2006-10-10 15:37:22 -07:00
ia32 [PATCH] VFS: Make filldir_t and struct kstat deal in 64-bit inode numbers 2006-10-03 08:03:40 -07:00
kernel [IA64] Fix breakage from irq change 2006-10-06 10:09:41 -07:00
lib [PATCH] Fix RAID5 + IA64 compile 2006-08-03 10:04:27 -07:00
mm [PATCH] mm: use symbolic names instead of indices for zone initialisation 2006-10-11 11:14:14 -07:00
oprofile Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
pci [PATCH] genirq: msi: simplify the msi irq limit policy 2006-10-04 07:55:27 -07:00
scripts
sn [PATCH] ia64/sn __iomem annotations 2006-10-10 15:37:22 -07:00
defconfig [PATCH] sgiioc4: Always share IRQ 2006-07-31 13:28:40 -07:00
install.sh
Kconfig [PATCH] Kprobes: Make kprobe modules more portable 2006-10-02 07:57:16 -07:00
Kconfig.debug
Makefile [IA64] add vmlinuz target 2006-06-21 14:31:07 -07:00
module.lds