patch-2.1.82 linux/include/asm-i386/softirq.h

Next file: linux/include/asm-i386/types.h
Previous file: linux/include/asm-alpha/unistd.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.81/linux/include/asm-i386/softirq.h linux/include/asm-i386/softirq.h
@@ -91,8 +91,8 @@
 }
 
 /* These are for the irq's testing the lock */
-#define softirq_trylock()	(in_bh ? 0 : (local_bh_count[smp_processor_id()]=1))
-#define softirq_endlock()	(local_bh_count[smp_processor_id()] = 0)
+#define softirq_trylock(cpu)	(in_bh() ? 0 : (local_bh_count[smp_processor_id()]=1))
+#define softirq_endlock(cpu)	(local_bh_count[smp_processor_id()] = 0)
 #define synchronize_bh()	do { } while (0)
 
 #endif	/* SMP */

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