diff options
Diffstat (limited to 'lib/libpthread/arch/alpha/_atomic_lock.c')
-rw-r--r-- | lib/libpthread/arch/alpha/_atomic_lock.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/lib/libpthread/arch/alpha/_atomic_lock.c b/lib/libpthread/arch/alpha/_atomic_lock.c index 912d7c97709..5de2960abdc 100644 --- a/lib/libpthread/arch/alpha/_atomic_lock.c +++ b/lib/libpthread/arch/alpha/_atomic_lock.c @@ -1,15 +1,6 @@ -/* $OpenBSD: _atomic_lock.c,v 1.6 2002/06/06 15:43:04 art Exp $ */ +/* $OpenBSD: _atomic_lock.c,v 1.7 2002/10/11 19:08:41 marc Exp $ */ /* * Atomi lock for alpha. */ -#include "spinlock.h" - /* _atomic lock is implemented in assembler. */ - -int -_atomic_is_locked(volatile _spinlock_lock_t * lock) -{ - - return (*lock != _SPINLOCK_UNLOCKED); -} |