summaryrefslogtreecommitdiff
path: root/libpthread/linuxthreads/sysdeps/ia64
diff options
context:
space:
mode:
Diffstat (limited to 'libpthread/linuxthreads/sysdeps/ia64')
-rw-r--r--libpthread/linuxthreads/sysdeps/ia64/pspinlock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpthread/linuxthreads/sysdeps/ia64/pspinlock.c b/libpthread/linuxthreads/sysdeps/ia64/pspinlock.c
index 8bbaf6f92..fa10c7b37 100644
--- a/libpthread/linuxthreads/sysdeps/ia64/pspinlock.c
+++ b/libpthread/linuxthreads/sysdeps/ia64/pspinlock.c
@@ -30,7 +30,7 @@ int
__pthread_spin_lock (pthread_spinlock_t *lock)
{
int *p = (int *) lock;
-
+
while (__builtin_expect (__sync_val_compare_and_swap (p, 0, 1), 0))
{
/* Spin without using the atomic instruction. */