asdf
I have been looking at unifying the way that panic_on_oops logs what it is doing between the different architectures that implement it. The first cab off the rank is the patch below which removes a seemingly silly difference between the behaviour on 32 and 64 bit powerpc.
I have not been able to test this as I do not have a ppc64 machine at my disposal. However I did test that it compiles thanks to the wonders of crosstool.
arch/powerpc/kernel/traps.c | 2 -- 1 file changed, 2 deletions(-)
arch/powerpc/kernel/traps.c +0 -2
@@ -157,10 +157,8 @@ #endifpanic ("Fatal exception in interrupt" );if (panic_on_oops) { -#ifdef CONFIG_PPC64 printk (KERN_EMERG "Fatal exception: panic in 5 seconds\n" );ssleep (5 ); -#endif panic ("Fatal exception" ); }do_exit (err);
Re: [PATCH] powerpc: unify 32 and 64bit panic_on_oops messages
First up, sorry for the silly subject in the original post, that was an error.
Secondly, when I sent the x86_64 version of this patch Andi Kleen pointed out that calling ssleep() will just cause an early panic if the code is in interrupt context. Accordingly, I plan to post patches to remoove the ssleep(). So please ignore the patch that is bellow.
Thanks
Signature · 3 lines
Horms H: http://www.vergenet.net/~horms/ W: http://www.valinux.co.jp/en/
Quoted 29 lines · Horms
I have been looking at unifying the way that
panic_on_oopslogs what it is doing between the different architectures that implement it. The first cab off the rank is the patch below which removes a seemingly silly difference between the behaviour on 32 and 64 bit powerpc.I have not been able to test this as I do not have a ppc64 machine at my disposal. However I did test that it compiles thanks to the wonders of crosstool.
Signed-off-by Horms <[email protected]>
arch/powerpc/kernel/traps.c| 2 --1 file changed, 2 deletions(-)arch/powerpc/kernel/traps.c +0
-2@@ -157,10 +157,8 @@ #endifpanic ("Fatal exception in interrupt" );if (panic_on_oops) { -#ifdef CONFIG_PPC64 printk (KERN_EMERG "Fatal exception: panic in 5 seconds\n" );ssleep (5 ); -#endif panic ("Fatal exception" ); }do_exit (err);