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

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

diff -u --recursive --new-file v2.1.35/linux/include/asm-sparc64/softirq.h linux/include/asm-sparc64/softirq.h
@@ -34,6 +34,12 @@
 	bh_mask |= 1 << ent;	\
 } while(0)
 
+#define remove_bh(nr)		\
+do {	int ent = nr;		\
+	bh_base[ent] = NULL;	\
+	bh_mask &= ~(1 << ent);	\
+} while(0)
+
 #define mark_bh(nr)		(bh_active |= (1 << (nr)))
 
 #define disable_bh(nr)		\

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov