patch-2.2.16 linux/include/asm-i386/softirq.h
Next file: linux/include/asm-i386/uaccess.h
Previous file: linux/include/asm-alpha/unaligned.h
Back to the patch index
Back to the overall index
- Lines: 19
- Date:
Wed Jun 7 14:26:44 2000
- Orig file:
v2.2.15/linux/include/asm-i386/softirq.h
- Orig date:
Tue Oct 26 17:53:42 1999
diff -urN v2.2.15/linux/include/asm-i386/softirq.h linux/include/asm-i386/softirq.h
@@ -9,6 +9,10 @@
#define get_active_bhs() (bh_mask & bh_active)
#define clear_active_bhs(x) atomic_clear_mask((x),&bh_active)
+#if defined (__SMP__) || DEBUG_SPINLOCKS > 0
+extern spinlock_t i386_bh_lock;
+#endif
+
#ifdef __SMP__
/*
@@ -18,7 +22,6 @@
*/
extern atomic_t global_bh_lock;
extern atomic_t global_bh_count;
-extern spinlock_t i386_bh_lock;
extern void synchronize_bh(void);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)