patch-2.1.120 linux/include/asm-m68k/softirq.h

Next file: linux/include/asm-m68k/spinlock.h
Previous file: linux/include/asm-m68k/setup.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.119/linux/include/asm-m68k/softirq.h linux/include/asm-m68k/softirq.h
@@ -61,6 +61,6 @@
 /* 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

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov