[PATCH 1/3] OProfile: small NMI shutdown fix

John Levon
2003-06-17T14:40:03Z

Reduce the possibility of dazed-and-confuseds.

diff -Naur -X dontdiff linux-cvs/arch/i386/oprofile/nmi_int.c linux-fixes/arch/i386/oprofile/nmi_int.c
--- linux-cvs/arch/i386/oprofile/nmi_int.c 2003-06-15 15:32:09.000000000 +0100
+++ linux-fixes/arch/i386/oprofile/nmi_int.c 2003-06-15 02:10:08.000000000 +0100
@@ -182,8 +182,8 @@
static void nmi_shutdown(void)
{
nmi_enabled = 0;
- unset_nmi_callback();
on_each_cpu(nmi_cpu_shutdown, NULL, 0, 1);
+ unset_nmi_callback();
enable_lapic_nmi_watchdog();
}