patch-2.1.45 linux/include/asm-sparc64/softirq.h
Next file: linux/include/asm-sparc64/spinlock.h
Previous file: linux/include/asm-sparc64/namei.h
Back to the patch index
Back to the overall index
-  Lines: 13
-  Date:
Wed Jul 16 19:22:51 1997
-  Orig file: 
v2.1.44/linux/include/asm-sparc64/softirq.h
-  Orig date: 
Thu May 29 21:53:09 1997
diff -u --recursive --new-file v2.1.44/linux/include/asm-sparc64/softirq.h linux/include/asm-sparc64/softirq.h
@@ -43,10 +43,12 @@
 do {	int ent = nr;		\
 	bh_mask &= ~(1 << ent);	\
 	bh_mask_count[ent]++;	\
+	barrier();		\
 } while(0)
 
 #define enable_bh(nr)			\
 do {	int ent = nr;			\
+	barrier();			\
 	if (!--bh_mask_count[ent])	\
 		bh_mask |= 1 << ent;	\
 } while(0)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov