public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* [Linux-ia64] [patch] important bug fix for irq_cpustat.h
@ 2002-07-31 16:19 David Mosberger
  0 siblings, 0 replies; only message in thread
From: David Mosberger @ 2002-07-31 16:19 UTC (permalink / raw)
  To: linux-ia64

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

--- include/linux/irq_cpustat.h~	Mon Jul 29 15:03:27 2002
+++ include/linux/irq_cpustat.h	Tue Jul 30 18:03:41 2002
@@ -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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-07-31 16:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-31 16:19 [Linux-ia64] [patch] important bug fix for irq_cpustat.h David Mosberger

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