summaryrefslogtreecommitdiffstats
path: root/include/asm-i386/softirq.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-i386/softirq.h')
-rw-r--r--include/asm-i386/softirq.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-i386/softirq.h b/include/asm-i386/softirq.h
index f77cce80a..c96481626 100644
--- a/include/asm-i386/softirq.h
+++ b/include/asm-i386/softirq.h
@@ -86,7 +86,7 @@ extern inline void end_bh_atomic(void)
/* These are for the irq's testing the lock */
#define softirq_trylock(cpu) (local_bh_count[cpu] ? 0 : (local_bh_count[cpu]=1))
#define softirq_endlock(cpu) (local_bh_count[cpu] = 0)
-#define synchronize_bh() do { } while (0)
+#define synchronize_bh() barrier()
#endif /* SMP */