summaryrefslogtreecommitdiff
path: root/lib/libpthread/arch/powerpc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libpthread/arch/powerpc')
-rw-r--r--lib/libpthread/arch/powerpc/_atomic_lock.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/lib/libpthread/arch/powerpc/_atomic_lock.c b/lib/libpthread/arch/powerpc/_atomic_lock.c
index e3eb2aab290..0d6099bbfed 100644
--- a/lib/libpthread/arch/powerpc/_atomic_lock.c
+++ b/lib/libpthread/arch/powerpc/_atomic_lock.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: _atomic_lock.c,v 1.3 2002/07/10 20:30:13 jsyn Exp $ */
+/* $OpenBSD: _atomic_lock.c,v 1.4 2002/10/11 19:08:41 marc Exp $ */
/*
* Atomic lock for powerpc
*/
@@ -34,10 +34,3 @@ _atomic_lock(volatile _spinlock_lock_t *lock)
* processors.
*/
}
-
-int
-_atomic_is_locked(volatile _spinlock_lock_t *lock)
-{
-
- return (*lock != _SPINLOCK_UNLOCKED);
-}