patch-2.3.13 linux/include/asm-m68k/softirq.h
Next file: linux/include/asm-m68k/spinlock.h
Previous file: linux/include/asm-m68k/semaphore.h
Back to the patch index
Back to the overall index
-  Lines: 10
-  Date:
Mon Aug  9 12:27:31 1999
-  Orig file: 
v2.3.12/linux/include/asm-m68k/softirq.h
-  Orig date: 
Tue Jan  5 11:20:43 1999
diff -u --recursive --new-file v2.3.12/linux/include/asm-m68k/softirq.h linux/include/asm-m68k/softirq.h
@@ -46,6 +46,9 @@
 
 extern unsigned int local_bh_count[NR_CPUS];
 
+#define local_bh_disable()	(local_bh_count[smp_processor_id()]++)
+#define local_bh_enable()	(local_bh_count[smp_processor_id()]--)
+
 extern inline void start_bh_atomic(void)
 {
 	local_bh_count[smp_processor_id()]++;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)