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

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