kernel - add UP version for spin_trylock_wr()
authorMatthew Dillon <dillon@apollo.backplane.com>
Sat, 16 Jan 2010 01:50:13 +0000 (17:50 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sat, 16 Jan 2010 01:50:13 +0000 (17:50 -0800)
commite124976ce1c095669747f6e4f761bafa553f4910
tree25ac76d06f565b47eb4100d790e0109227f59e10
parent544f91bfac8dc14f068459a6d169f95efd3adafe
kernel - add UP version for spin_trylock_wr()

* UP version is a degenerate case, used by kern_lock.o

Reported-by: Antonio Huete Jimenez <tuxillo@crater.dragonflybsd.org>
sys/sys/spinlock2.h