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

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