From 35faa71484287fc150b8498cd5acae59ad17a356 Mon Sep 17 00:00:00 2001 From: "akpm@osdl.org" <akpm@osdl.org> Date: Sat, 16 Apr 2005 15:24:54 -0700 Subject: [PATCH] [PATCH] x86_64 show_stack(): call touch_nmi_watchdog 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> --- arch/x86_64/kernel/traps.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/x86_64/kernel/traps.c b/arch/x86_64/kernel/traps.c index d87ac6496cc2..2707a27b81cd 100644 --- a/arch/x86_64/kernel/traps.c +++ b/arch/x86_64/kernel/traps.c @@ -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> @@ -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); } -- 2.30.9