提交 35faa714 编写于 作者: A akpm@osdl.org 提交者: Linus Torvalds

[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: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 90660ec3
......@@ -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);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册