]> err.no Git - linux-2.6/commit
[PATCH] panic_on_oops: remove ssleep()
authorHorms <horms@verge.net.au>
Sun, 30 Jul 2006 10:03:34 +0000 (03:03 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 31 Jul 2006 20:28:39 +0000 (13:28 -0700)
commitcea6a4ba8acfba6f59cc9ed71e0d05cb770b9d9c
tree8a8ad7de11c2261c3f850d97d91524ee64cc36c4
parentb8bdb460b7ecf08a4fed6e8b5b6b3fe874587aaa
[PATCH] panic_on_oops: remove ssleep()

This patch is part of an effort to unify the panic_on_oops behaviour across
all architectures that implement it.

It was pointed out to me by Andi Kleen that if an oops has occured in
interrupt context, then calling sleep() in the oops path will only cause a
panic, and that it would be really better for it not to be in the path at
all.

This patch removes the ssleep() call and reworks the console message
accordinly.  I have a slght concern that the resulting console message is
too long, feedback welcome.

For powerpc it also unifies the 32bit and 64bit behaviour.

Fror x86_64, this patch only updates the console message, as ssleep() is
already not present.

Signed-off-by: Horms <horms@verge.net.au>
Acked-by: Paul Mackerras <paulus@samba.org>
Cc: Russell King <rmk@arm.linux.org.uk>
Cc: "Luck, Tony" <tony.luck@intel.com>
Cc: Andi Kleen <ak@muc.de>
Cc: Chris Zankel <chris@zankel.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/arm/kernel/traps.c
arch/i386/kernel/traps.c
arch/ia64/kernel/traps.c
arch/powerpc/kernel/traps.c
arch/x86_64/kernel/traps.c
arch/xtensa/kernel/traps.c