patch-2.1.36 linux/include/asm-alpha/softirq.h

Next file: linux/include/asm-alpha/spinlock.h
Previous file: linux/include/asm-alpha/smp_lock.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.35/linux/include/asm-alpha/softirq.h linux/include/asm-alpha/softirq.h
@@ -31,6 +31,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