[PATCH 2/3] OProfile: needed fix to IO-APIC timer

From: John Levon (levon@movementarian.org)
Date: Thu Jul 10 2003 - 12:09:04 EST


Retransmit of a critical fix to the IO-APIC timer support. By Zwane Mwaikambo. Please apply

diff -Naur -X dontdiff linux-cvs/arch/i386/kernel/nmi.c linux-fixes/arch/i386/kernel/nmi.c
--- linux-cvs/arch/i386/kernel/nmi.c 2003-06-18 15:06:05.000000000 +0100
+++ linux-fixes/arch/i386/kernel/nmi.c 2003-06-18 23:09:49.000000000 +0100
@@ -189,7 +189,6 @@
         if ((nmi_watchdog != NMI_IO_APIC) || (nmi_active <= 0))
                 return;
 
- disable_irq(0);
         unset_nmi_callback();
         nmi_active = -1;
         nmi_watchdog = NMI_NONE;
@@ -201,7 +200,6 @@
                 nmi_watchdog = NMI_IO_APIC;
                 touch_nmi_watchdog();
                 nmi_active = 1;
- enable_irq(0);
         }
 }
 

-
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 : Tue Jul 15 2003 - 22:00:35 EST