patch-2.1.82 linux/include/asm-alpha/softirq.h
Next file: linux/include/asm-alpha/types.h
Previous file: linux/include/asm-alpha/smp.h
Back to the patch index
Back to the overall index
- Lines: 13
- Date:
Sat Jan 24 14:22:33 1998
- Orig file:
v2.1.81/linux/include/asm-alpha/softirq.h
- Orig date:
Mon Nov 17 08:36:20 1997
diff -u --recursive --new-file v2.1.81/linux/include/asm-alpha/softirq.h linux/include/asm-alpha/softirq.h
@@ -80,10 +80,10 @@
#ifndef __SMP__
/* These are for the irq's testing the lock */
-#define softirq_trylock() (atomic_read(&__alpha_bh_counter) ? \
+#define softirq_trylock(cpu) (atomic_read(&__alpha_bh_counter) ? \
0 : \
((atomic_set(&__alpha_bh_counter,1)),1))
-#define softirq_endlock() (atomic_set(&__alpha_bh_counter, 0))
+#define softirq_endlock(cpu) (atomic_set(&__alpha_bh_counter, 0))
#else
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov