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

From: John Levon (levon@movementarian.org)
Date: Tue Jun 17 2003 - 09:53:54 EST


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/



This archive was generated by hypermail 2b29 : Mon Jun 23 2003 - 22:00:21 EST