patch-2.1.124 linux/include/asm-sparc64/softirq.h

Next file: linux/include/asm-sparc64/string.h
Previous file: linux/include/asm-sparc64/smp.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.123/linux/include/asm-sparc64/softirq.h linux/include/asm-sparc64/softirq.h
@@ -23,7 +23,7 @@
 #define softirq_trylock(cpu)	(__sparc64_bh_counter ? 0 : (__sparc64_bh_counter=1))
 #define softirq_endlock(cpu)	(__sparc64_bh_counter = 0)
 #define clear_active_bhs(x)	(bh_active &= ~(x))
-#define synchronize_bh()	do { } while (0) /* XXX implement SMP version -DaveM */
+#define synchronize_bh()	barrier() /* XXX implement SMP version -DaveM */
 
 #define init_bh(nr, routine)	\
 do {	int ent = nr;		\

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