Commit 74d91e3c authored by Huang Ying's avatar Huang Ying Committed by Ingo Molnar
Browse files

x86, NMI: Add touch_nmi_watchdog to io_check_error delay

Prevent the long delay in io_check_error making NMI watchdog
Signed-off-by: default avatarHuang Ying <>
Signed-off-by: default avatarDon Zickus <>
LKML-Reference: <>
Signed-off-by: default avatarIngo Molnar <>
parent 554ec063
......@@ -351,9 +351,11 @@ io_check_error(unsigned char reason, struct pt_regs *regs)
reason = (reason & 0xf) | 8;
outb(reason, 0x61);
i = 2000;
while (--i)
i = 20000;
while (--i) {
reason &= ~8;
outb(reason, 0x61);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment