summaryrefslogtreecommitdiff
path: root/lib/libc_r/arch/sparc
diff options
context:
space:
mode:
authorDavid Leonard <d@cvs.openbsd.org>1998-12-21 13:03:46 +0000
committerDavid Leonard <d@cvs.openbsd.org>1998-12-21 13:03:46 +0000
commit21608e3435c3a03689040da68f7163b3c35fdcc0 (patch)
treeec32885db6957cee4384925b071dc78b2df41082 /lib/libc_r/arch/sparc
parent6fb232d619f8620a9ef688534f9399a7505dc03f (diff)
more spinlock
Diffstat (limited to 'lib/libc_r/arch/sparc')
-rw-r--r--lib/libc_r/arch/sparc/_atomic_lock.c8
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);