Skip to content

Commit

Permalink
[PATCH] i386: touch softlockup during backtracing
Browse files Browse the repository at this point in the history
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: Dave Jones <davej@redhat.com>
Signed-off-by: Andi Kleen <ak@suse.de>
  • Loading branch information
Dave Jones authored and Andi Kleen committed Dec 7, 2006
1 parent d4c4571 commit a36df98
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/i386/kernel/traps.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
#include <linux/kexec.h>
#include <linux/unwind.h>
#include <linux/uaccess.h>
#include <linux/nmi.h>

#ifdef CONFIG_EISA
#include <linux/ioport.h>
Expand Down Expand Up @@ -248,6 +249,7 @@ void dump_trace(struct task_struct *task, struct pt_regs *regs,
stack = (unsigned long*)context->previous_esp;
if (!stack)
break;
touch_nmi_watchdog();
}
}
EXPORT_SYMBOL(dump_trace);
Expand Down

0 comments on commit a36df98

Please sign in to comment.