diff options
Diffstat (limited to 'lib/libc_r/arch/hppa/_atomic_lock.c')
-rw-r--r-- | lib/libc_r/arch/hppa/_atomic_lock.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/lib/libc_r/arch/hppa/_atomic_lock.c b/lib/libc_r/arch/hppa/_atomic_lock.c index be47bb99afa..9882303e388 100644 --- a/lib/libc_r/arch/hppa/_atomic_lock.c +++ b/lib/libc_r/arch/hppa/_atomic_lock.c @@ -1,4 +1,4 @@ -/* $OpenBSD: _atomic_lock.c,v 1.1 1998/12/21 22:54:55 mickey Exp $ */ +/* $OpenBSD: _atomic_lock.c,v 1.2 2002/10/11 19:08:41 marc Exp $ */ /* * Atomic lock for hppa */ @@ -13,9 +13,3 @@ _atomic_lock(volatile register_t *lock) return (old == _SPINLOCK_LOCKED); } - -int -_atomic_is_locked(volatile register_t *lock) -{ - return (*lock == _SPINLOCK_LOCKED); -} |