[PATCH][2.5] Remove debug debris from nmi_timer_int

Zwane Mwaikambo (zwane@linuxpower.ca)
Wed, 25 Jun 2003 23:13:34 -0400 (EDT)


This little (from yours truly - sorry) bit snuck in during the
oprofile nmi_timer_int submission, it was only being used for debug
purposes.

Index: linux-2.5/arch/i386/kernel/nmi.c
===================================================================
RCS file: /home/cvs/linux-2.5/arch/i386/kernel/nmi.c,v
retrieving revision 1.20
diff -u -p -B -r1.20 nmi.c
--- linux-2.5/arch/i386/kernel/nmi.c 21 Jun 2003 16:19:10 -0000 1.20
+++ linux-2.5/arch/i386/kernel/nmi.c 26 Jun 2003 02:06:17 -0000
@@ -189,7 +189,6 @@ void disable_timer_nmi_watchdog(void)
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 @@ void enable_timer_nmi_watchdog(void)
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/