]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] ppc64: Fix result code handling in prom_init
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 2 Jun 2005 04:11:37 +0000 (14:11 +1000)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 2 Jun 2005 15:19:27 +0000 (08:19 -0700)
commit0c799f43a741714bc7588fe51ab94ae8a5ca91a4
tree0e3d6de84b4ffa379c2c7ddcebd3f55de52b9844
parent60bc7bcefadbd426eb0267ac9f4077fde6090dfa
[PATCH] ppc64: Fix result code handling in prom_init

prom_init(), the trampoline code that "talks" to Open Firmware during
early boot, has various issues with managing OF result codes. Some of my
recent fixups in fact made the problem worse on some platforms.

This patch reworks it all. Tested on g5, Maple, POWER3 and POWER5.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/ppc64/kernel/prom_init.c