patch-2.2.4 linux/include/asm-ppc/spinlock.h
Next file: linux/include/asm-ppc/system.h
Previous file: linux/include/asm-ppc/softirq.h
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Wed Mar 10 21:30:32 1999
- Orig file:
v2.2.3/linux/include/asm-ppc/spinlock.h
- Orig date:
Thu Dec 31 10:29:02 1998
diff -u --recursive --new-file v2.2.3/linux/include/asm-ppc/spinlock.h linux/include/asm-ppc/spinlock.h
@@ -102,6 +102,8 @@
#define spin_unlock_irqrestore(lock, flags) \
do { spin_unlock(lock); __restore_flags(flags); } while (0)
+extern unsigned long __spin_trylock(volatile unsigned long *lock);
+
/*
* Read-write spinlocks, allowing multiple readers
* but only one writer.
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)