diff options
author | David Leonard <d@cvs.openbsd.org> | 1998-12-21 13:03:46 +0000 |
---|---|---|
committer | David Leonard <d@cvs.openbsd.org> | 1998-12-21 13:03:46 +0000 |
commit | 21608e3435c3a03689040da68f7163b3c35fdcc0 (patch) | |
tree | ec32885db6957cee4384925b071dc78b2df41082 /lib/libc_r/arch/sparc | |
parent | 6fb232d619f8620a9ef688534f9399a7505dc03f (diff) |
more spinlock
Diffstat (limited to 'lib/libc_r/arch/sparc')
-rw-r--r-- | lib/libc_r/arch/sparc/_atomic_lock.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc_r/arch/sparc/_atomic_lock.c b/lib/libc_r/arch/sparc/_atomic_lock.c index 31636328f93..6415e25c912 100644 --- a/lib/libc_r/arch/sparc/_atomic_lock.c +++ b/lib/libc_r/arch/sparc/_atomic_lock.c @@ -1,18 +1,18 @@ -/* $OpenBSD: _atomic_lock.c,v 1.3 1998/12/21 07:37:01 d Exp $ */ +/* $OpenBSD: _atomic_lock.c,v 1.4 1998/12/21 13:03:45 d Exp $ */ /* * Atomic lock for sparc */ #include "spinlock.h" -register_t -_atomic_lock(volatile register_t * lock) +int +_atomic_lock(volatile _spinlock_lock_t * lock) { return _thread_slow_atomic_lock(lock); } int -_atomic_is_locked(volatile register_t * lock) +_atomic_is_locked(volatile _spinlock_lock_t * lock) { return _thread_slow_atomic_is_locked(lock); |