LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH] Fix local_irq_* macro definition thinkos for the !TRACE_IRQFLAGS_SUPPORT case
@ 2007-08-03 20:48 George G. Davis
  0 siblings, 0 replies; only message in thread
From: George G. Davis @ 2007-08-03 20:48 UTC (permalink / raw)
  To: linux-kernel

From: George G. Davis <gdavis@mvista.com>

Fix local_irq_* macro definition errors for the !TRACE_IRQFLAGS_SUPPORT
case in which the macros are errantly "redefined" rather than defined.

Signed-off-by: George G. Davis <gdavis@mvista.com>

diff --git a/include/linux/irqflags.h b/include/linux/irqflags.h
index 412e025..49a3df8 100644
--- a/include/linux/irqflags.h
+++ b/include/linux/irqflags.h
@@ -67,10 +67,10 @@
  * The local_irq_*() APIs are equal to the raw_local_irq*()
  * if !TRACE_IRQFLAGS.
  */
-# define raw_local_irq_disable()	local_irq_disable()
-# define raw_local_irq_enable()		local_irq_enable()
-# define raw_local_irq_save(flags)	local_irq_save(flags)
-# define raw_local_irq_restore(flags)	local_irq_restore(flags)
+# define local_irq_disable()		raw_local_irq_disable()
+# define local_irq_enable()		raw_local_irq_enable()
+# define local_irq_save(flags)		raw_local_irq_save(flags)
+# define local_irq_restore(flags)	raw_local_irq_restore(flags)
 #endif /* CONFIG_TRACE_IRQFLAGS_SUPPORT */
 
 #ifdef CONFIG_TRACE_IRQFLAGS_SUPPORT

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

only message in thread, other threads:[~2007-08-03 20:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-08-03 20:48 [PATCH] Fix local_irq_* macro definition thinkos for the !TRACE_IRQFLAGS_SUPPORT case George G. Davis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).