[PATCH] powerpc: return to OF via trap, not exit
authorOlaf Hering <olh@suse.de>
Thu, 23 Mar 2006 21:03:57 +0000 (22:03 +0100)
committerPaul Mackerras <paulus@samba.org>
Mon, 27 Mar 2006 03:48:36 +0000 (14:48 +1100)
commitadd60ef303809087999412209d24d400a1c96670
treef95a1105c5f680149131eb56084e86321b41170e
parent069007ae07ab9286fbe42e9a66b78e184f752a05
[PATCH] powerpc: return to OF via trap, not exit

Do not call prom exit prom_panic. It clears the screen and the exit
message is lost.

On some (or all?) pmacs it causes another crash when OF tries to print
the date and time in its banner.

Set of_platform earlier to catch more prom_panic() calls.

Signed-off-by: Olaf Hering <olh@suse.de>
Acked-by: Segher Boessenkool <segher@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/prom_init.c