public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/3] OProfile: small NMI shutdown fix
@ 2003-06-17 14:53 John Levon
  2003-06-17 14:53 ` [PATCH 2/3] OProfile: IO-APIC based NMI delivery John Levon
  0 siblings, 1 reply; 3+ messages in thread
From: John Levon @ 2003-06-17 14:53 UTC (permalink / raw)
  To: torvalds, linux-kernel


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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-06-17 14:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-17 14:53 [PATCH 1/3] OProfile: small NMI shutdown fix John Levon
2003-06-17 14:53 ` [PATCH 2/3] OProfile: IO-APIC based NMI delivery John Levon
2003-06-17 14:53   ` [PATCH 3/3] OProfile: thread switching performance fix John Levon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox