Skip to contentSkip to conversation

important bug fix for irq_cpustat.h

PATCH New David Mosberger 1 participant 1 message Jul 31, 2002

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 important bug fix for irq_cpustat.h

The patch below fixes a typo in irq_cpustat.h. I found the error while going over the code as part of synching with Linus' 2.5 tree. I'm not aware of the typo causing a detectable problem but it's clearly a bug and I suspect it could cause at least performance anomalies, if not outright errors.

	--david
linux/irq_cpustat.h renamed from linux/irq_cpustat.h~ +1 -1
@@ -42,7 +42,7 @@
 #define local_ksoftirqd_task()	ksoftirqd_task(smp_processor_id())
 
 /* These will lose the "really_" prefix when the interim macros below are removed.  */
-#define really_local_irq_count()bh_count(smp_processor_id())
+#define really_local_irq_count()irq_count(smp_processor_id())
 #define really_local_bh_count()	bh_count(smp_processor_id())
 
 /* Interim macros for backward compatibility.  They are deprecated.  Use irq_count() and