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

John Levon (levon@movementarian.org)
Tue, 17 Jun 2003 15:53:54 +0100


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();
}

-
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/