]> err.no Git - linux-2.6/commit
[PATCH] ppc64: Fix zImage boot
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 7 Nov 2005 08:57:58 +0000 (00:57 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 7 Nov 2005 15:53:23 +0000 (07:53 -0800)
commitc8e3c8b21bd7a317d071ab8cf478880e7a4f92d6
tree0b97687ffb4a3a0860b6c5170cadeb7526988c1a
parent2d4b95f06062d590aef8e44d42cec27b1828119f
[PATCH] ppc64: Fix zImage boot

The zImage wrapper has a bug where it doesn't claim() the memory for the
kernel properly, it forgets to take into account the offset between the ELF
header and the kernel itself.  This results on some machines, like G5s,
into a kernel that crashes at boot when clearing the BSS.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/ppc64/boot/main.c