Messages in this thread Patch in this message | | | Date | Tue, 5 Aug 2003 21:29:08 +0200 | From | Andi Kleen <> | Subject | [PATCH] Export touch_nmi_watchdog |
| |
Sometimes drivers do long things with interrupt off and the NMI watchdog triggers quickly. This mostly happens in error handling. It would be better to fix the drivers to sleep in this case, but it's not always possible or too much work.
This patch exports touch_nmi_watchdog so that they can at least be fixed to not trigger the watchdog.
Matches a similar patch for x86-64.
-Andi
diff -burpN -X ../KDIFX linux/arch/i386/kernel/nmi.c linux-2.6.0test2-amd64/arch/i386/kernel/nmi.c --- linux/arch/i386/kernel/nmi.c 2003-07-18 02:40:03.000000000 +0200 +++ linux-2.6.0test2-work/arch/i386/kernel/nmi.c 2003-08-03 12:13:48.000000000 +0200 @@ -455,3 +455,4 @@ EXPORT_SYMBOL(disable_lapic_nmi_watchdog EXPORT_SYMBOL(enable_lapic_nmi_watchdog); EXPORT_SYMBOL(disable_timer_nmi_watchdog); EXPORT_SYMBOL(enable_timer_nmi_watchdog); +EXPORT_SYMBOL(touch_nmi_watchdog); - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |