aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/hardirq.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/hardirq.h')
-rw-r--r--include/linux/hardirq.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/hardirq.h b/include/linux/hardirq.h
index f83288347dda..2dfaadbdb2ac 100644
--- a/include/linux/hardirq.h
+++ b/include/linux/hardirq.h
@@ -105,7 +105,7 @@
105# define IRQ_EXIT_OFFSET HARDIRQ_OFFSET 105# define IRQ_EXIT_OFFSET HARDIRQ_OFFSET
106#endif 106#endif
107 107
108#ifdef CONFIG_SMP 108#if defined(CONFIG_SMP) || defined(CONFIG_GENERIC_HARDIRQS)
109extern void synchronize_irq(unsigned int irq); 109extern void synchronize_irq(unsigned int irq);
110#else 110#else
111# define synchronize_irq(irq) barrier() 111# define synchronize_irq(irq) barrier()