patch-2.1.36 linux/include/asm-i386/softirq.h
Next file: linux/include/asm-i386/spinlock.h
Previous file: linux/include/asm-i386/smp_lock.h
Back to the patch index
Back to the overall index
- Lines: 13
- Date:
Tue Apr 22 22:44:18 1997
- Orig file:
v2.1.35/linux/include/asm-i386/softirq.h
- Orig date:
Mon Apr 14 16:28:19 1997
diff -u --recursive --new-file v2.1.35/linux/include/asm-i386/softirq.h linux/include/asm-i386/softirq.h
@@ -14,6 +14,12 @@
bh_mask |= 1 << nr;
}
+extern inline void remove_bh(int nr)
+{
+ bh_base[nr] = NULL;
+ bh_mask &= ~(1 << nr);
+}
+
extern inline void mark_bh(int nr)
{
set_bit(nr, &bh_active);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov