* prevent recursive panic from softlockup watchdog
@ 2006-02-08 16:09 Jan Beulich
0 siblings, 0 replies; only message in thread
From: Jan Beulich @ 2006-02-08 16:09 UTC (permalink / raw)
To: linux-kernel
From: Jan Beulich <jbeulich@novell.com>
When panic_timeout is zero, suppress triggering a nested panic due to soft
lockup detection.
Signed-Off-By: Jan Beulich <jbeulich@novell.com>
diff -Npru /home/jbeulich/tmp/linux-2.6.16-rc2/kernel/panic.c 2.6.16-rc2-panic-softlockup/kernel/panic.c
--- /home/jbeulich/tmp/linux-2.6.16-rc2/kernel/panic.c 2006-02-06 11:02:54.000000000 +0100
+++ 2.6.16-rc2-panic-softlockup/kernel/panic.c 2006-01-25 09:55:53.000000000 +0100
@@ -130,6 +130,7 @@ NORET_TYPE void panic(const char * fmt,
#endif
local_irq_enable();
for (i = 0;;) {
+ touch_softlockup_watchdog();
i += panic_blink(i);
mdelay(1);
i++;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-02-08 16:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-02-08 16:09 prevent recursive panic from softlockup watchdog Jan Beulich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®