Commit a36df98a authored by Dave Jones's avatar Dave Jones Committed by Andi Kleen

[PATCH] i386: touch softlockup during backtracing

Sometimes the soft watchdog fires after we're done oopsing.
See http://projects.info-pull.com/mokb/MOKB-25-11-2006.html for an example.

AK: changed to touch_nmi_watchdog()
Signed-off-by: default avatarDave Jones <davej@redhat.com>
Signed-off-by: default avatarAndi Kleen <ak@suse.de>
parent d4c45718
...@@ -29,6 +29,7 @@ ...@@ -29,6 +29,7 @@
#include <linux/kexec.h> #include <linux/kexec.h>
#include <linux/unwind.h> #include <linux/unwind.h>
#include <linux/uaccess.h> #include <linux/uaccess.h>
#include <linux/nmi.h>
#ifdef CONFIG_EISA #ifdef CONFIG_EISA
#include <linux/ioport.h> #include <linux/ioport.h>
...@@ -248,6 +249,7 @@ void dump_trace(struct task_struct *task, struct pt_regs *regs, ...@@ -248,6 +249,7 @@ void dump_trace(struct task_struct *task, struct pt_regs *regs,
stack = (unsigned long*)context->previous_esp; stack = (unsigned long*)context->previous_esp;
if (!stack) if (!stack)
break; break;
touch_nmi_watchdog();
} }
} }
EXPORT_SYMBOL(dump_trace); EXPORT_SYMBOL(dump_trace);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment