diff options
-rw-r--r-- | arch/x86/kernel/traps_64.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/arch/x86/kernel/traps_64.c b/arch/x86/kernel/traps_64.c index 00406c99aee4..7853f488cd6c 100644 --- a/arch/x86/kernel/traps_64.c +++ b/arch/x86/kernel/traps_64.c | |||
@@ -252,13 +252,19 @@ mem_parity_error(unsigned char reason, struct pt_regs *regs) | |||
252 | static notrace __kprobes void | 252 | static notrace __kprobes void |
253 | io_check_error(unsigned char reason, struct pt_regs *regs) | 253 | io_check_error(unsigned char reason, struct pt_regs *regs) |
254 | { | 254 | { |
255 | printk("NMI: IOCK error (debug interrupt?)\n"); | 255 | unsigned long i; |
256 | |||
257 | printk(KERN_EMERG "NMI: IOCK error (debug interrupt?)\n"); | ||
256 | show_registers(regs); | 258 | show_registers(regs); |
257 | 259 | ||
258 | /* Re-enable the IOCK line, wait for a few seconds */ | 260 | /* Re-enable the IOCK line, wait for a few seconds */ |
259 | reason = (reason & 0xf) | 8; | 261 | reason = (reason & 0xf) | 8; |
260 | outb(reason, 0x61); | 262 | outb(reason, 0x61); |
261 | mdelay(2000); | 263 | |
264 | i = 2000; | ||
265 | while (--i) | ||
266 | udelay(1000); | ||
267 | |||
262 | reason &= ~8; | 268 | reason &= ~8; |
263 | outb(reason, 0x61); | 269 | outb(reason, 0x61); |
264 | } | 270 | } |