Skip to content

Commit

Permalink
[PATCH] x86_64 show_stack(): call touch_nmi_watchdog
Browse files Browse the repository at this point in the history
I had strange NMI watchdog timeouts running sysrq-T across 9600-baud serial.


Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
akpm@osdl.org authored and Linus Torvalds committed Apr 16, 2005
1 parent 90660ec commit 35faa71
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/x86_64/kernel/traps.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
#include <linux/interrupt.h>
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/nmi.h>

#include <asm/system.h>
#include <asm/uaccess.h>
Expand Down Expand Up @@ -243,6 +244,7 @@ void show_stack(struct task_struct *tsk, unsigned long * rsp)
if (i && ((i % 4) == 0))
printk("\n ");
printk("%016lx ", *stack++);
touch_nmi_watchdog();
}
show_trace((unsigned long *)rsp);
}
Expand Down

0 comments on commit 35faa71

Please sign in to comment.