patch-2.1.30 linux/include/linux/interrupt.h
Next file: linux/include/linux/ioport.h
Previous file: linux/include/linux/init.h
Back to the patch index
Back to the overall index
-  Lines: 19
-  Date:
Mon Mar 24 16:43:05 1997
-  Orig file: 
v2.1.29/linux/include/linux/interrupt.h
-  Orig date: 
Thu Feb 27 10:57:31 1997
diff -u --recursive --new-file v2.1.29/linux/include/linux/interrupt.h linux/include/linux/interrupt.h
@@ -16,6 +16,7 @@
 };
 
 extern atomic_t intr_count;
+extern volatile unsigned char bh_running;
 
 extern int bh_mask_count[32];
 extern unsigned long bh_active;
@@ -76,8 +77,9 @@
  */
 extern inline void start_bh_atomic(void)
 {
+	cli();
 	atomic_inc(&intr_count);
-	barrier();
+	sti();
 }
 
 extern inline void end_bh_atomic(void)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov