[PATCH] return to OF via trap, not exit

Segher Boessenkool segher at kernel.crashing.org
Fri Mar 24 23:13:43 EST 2006


On 23-mrt-2006, at 22:03, Olaf Hering wrote:
>  On Mon, Mar 06, Segher Boessenkool wrote:
>> That's better than always calling trap, sure.  Is there any reason
>> you can't just do it on Macs though?  Because the problem you're  
>> trying
>> to work around only happens there.
>
> Maybe something like this? Only compile tested

That looks fine yes (if it runs ;-) ), thanks!

> 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 at suse.de>

Acked-by: Segher Boessenkool <segher at kernel.crashing.org>




More information about the Linuxppc-dev mailing list