From 7dcc4ea070f087abcb1915d1976f30915e6606ad Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Sun, 28 Jan 2001 16:39:07 +0000 Subject: Adjust for last change. 2001-01-28 Andreas Jaeger * oldsemaphore.c (__old_sem_init): Adjust for last change. * sysdeps/pthread/bits/libc-lock.h: Likewise. * spinlock.c: Likewise. --- linuxthreads/spinlock.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'linuxthreads/spinlock.c') diff --git a/linuxthreads/spinlock.c b/linuxthreads/spinlock.c index 5846c45fec..63f2ed1693 100644 --- a/linuxthreads/spinlock.c +++ b/linuxthreads/spinlock.c @@ -155,7 +155,7 @@ int __pthread_unlock(struct _pthread_fastlock * lock) #if !defined HAS_COMPARE_AND_SWAP || defined TEST_FOR_COMPARE_AND_SWAP { WRITE_MEMORY_BARRIER(); - lock->__spinlock = LT_SPINLOCK_INIT; + lock->__spinlock = __LT_SPINLOCK_INIT; return 0; } #endif @@ -394,7 +394,7 @@ void __pthread_alt_lock(struct _pthread_fastlock * lock, } WRITE_MEMORY_BARRIER(); - lock->__spinlock = LT_SPINLOCK_INIT; + lock->__spinlock = __LT_SPINLOCK_INIT; if (suspend_needed) suspend (self); @@ -468,7 +468,7 @@ int __pthread_alt_timedlock(struct _pthread_fastlock * lock, } WRITE_MEMORY_BARRIER(); - lock->__spinlock = LT_SPINLOCK_INIT; + lock->__spinlock = __LT_SPINLOCK_INIT; goto suspend; } #endif @@ -649,7 +649,7 @@ void __pthread_alt_unlock(struct _pthread_fastlock *lock) #if !defined HAS_COMPARE_AND_SWAP || defined TEST_FOR_COMPARE_AND_SWAP { WRITE_MEMORY_BARRIER(); - lock->__spinlock = LT_SPINLOCK_INIT; + lock->__spinlock = __LT_SPINLOCK_INIT; } #endif } -- cgit v1.2.3