kernel_optimize_test/arch/powerpc
Michael Ellerman fa93895329 [PATCH] powerpc: Don't allocate zero bytes in finish_device_tree()
In prom.c we run finish_node() on allnodes twice. The first time we just
calculate how much memory we'll need, the second time we do the actual work.

If the calculation stage determines that we need 0 bytes, then we should skip
the lmb allocation. Although an alloc of zero will work, it has been seen to
lead to a BUG_ON() in reserve_bootmem() on at least one machine.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2006-02-07 21:28:38 +11:00
..
boot powerpc/32: Generate miboot images with ARCH=powerpc 2006-01-15 13:00:08 +11:00
configs [PATCH] e1000: Added disable packet split capability 2006-01-18 16:17:57 -05:00
kernel [PATCH] powerpc: Don't allocate zero bytes in finish_device_tree() 2006-02-07 21:28:38 +11:00
lib [PATCH] powerpc: Remove lppaca structure from the PACA 2006-01-13 21:17:39 +11:00
mm [PATCH] powerpc: IOMMU: don't ioremap null addresses 2006-01-10 15:30:31 +11:00
oprofile [PATCH] powerpc: oprofile cpu type names clash with other code 2006-01-14 11:12:16 +11:00
platforms [PATCH] powerpc: Fix spufs initialization sequence. 2006-02-07 21:27:50 +11:00
sysdev [PATCH] powerpc: Add FSL SOC library and setup code 2006-01-14 11:13:22 +11:00
xmon [PATCH] powerpc: xmon namespace cleanups 2006-01-12 20:39:14 +11:00
Kconfig [PATCH] powerpc: Kconfig changes for CRASH_DUMP 2006-01-15 16:50:04 +11:00
Kconfig.debug [PATCH] powerpc: Make early debugging configurable via Kconfig 2006-01-11 14:48:26 +11:00
Makefile [PATCH] powerpc/boot: Better use of defaultimage- 2006-01-13 21:14:28 +11:00