From: akpm@osdl.org Date: Sat, 16 Apr 2005 22:24:54 +0000 (-0700) Subject: [PATCH] x86_64 show_stack(): call touch_nmi_watchdog X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=35faa71484287fc150b8498cd5acae59ad17a356;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git [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 Signed-off-by: Linus Torvalds --- 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 #include #include +#include #include #include @@ -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); }