Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

parisc: Panic immediately when panic_on_oops

PA-RISC wants to sleep 5 seconds before panicking when panic_on_oops
is set, with no apparent reason. Remove this feature, since some users
may want their systems to fail as quickly as possible.

Users who want to delay reboot after panic can use PANIC_TIMEOUT.

Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Acked-by: Helge Deller <deller@gmx.de>
Signed-off-by: Helge Deller <deller@gmx.de>

authored by

Aaro Koskinen and committed by
Helge Deller
c95a23da 6c31da34

+1 -4
+1 -4
arch/parisc/kernel/traps.c
··· 284 284 if (in_interrupt()) 285 285 panic("Fatal exception in interrupt"); 286 286 287 - if (panic_on_oops) { 288 - printk(KERN_EMERG "Fatal exception: panic in 5 seconds\n"); 289 - ssleep(5); 287 + if (panic_on_oops) 290 288 panic("Fatal exception"); 291 - } 292 289 293 290 oops_exit(); 294 291 do_exit(SIGSEGV);