lkml.org 
[lkml]   [2003]   [Jun]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH][2.5] Remove debug debris from nmi_timer_int
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/
\
 
 \ /
  Last update: 2005-03-22 13:36    [W:0.030 / U:0.240 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site