[PATCH] ipmi: fix watchdog timeout panic handling
authorCorey Minyard <minyard@acm.org>
Mon, 7 Nov 2005 09:00:05 +0000 (01:00 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 7 Nov 2005 15:53:45 +0000 (07:53 -0800)
commitb385676b355549afc9a7507ce09c7df47f166521
treef24226209eca4f67e2bacead4767be919a8557bf
parente61fb5b65150ace7192d1f0ce840fe4cd6285e73
[PATCH] ipmi: fix watchdog timeout panic handling

If a panic came from the IPMI watchdog pretimeout and that was reported via
an NMI, it would also be reported via the standard IPMI flags, which would
get picked up when reporting panic events and cause another panic.  This
adds an atomic to avoid calling panic twice.

Signed-off-by: Corey Minyard <cminyard@mvista.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/char/ipmi/ipmi_watchdog.c