Fix local_irq_* macro definition thinkos for the !TRACE_IRQFLAGS_SUPPORT case
PATCH 1/1 Fix local_irq_* macro definition thinkos for the !TRACE_IRQFLAGS_SUPPORT case
From: George G. Davis <[email protected]>
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 <[email protected]>
include/linux/irqflags.h +4 -4
@@ -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