about summary refs log tree commit diff
path: root/nptl/sysdeps/ia64/pthread_spin_lock.c
diff options
context:
space:
mode:
Diffstat (limited to 'nptl/sysdeps/ia64/pthread_spin_lock.c')
-rw-r--r--nptl/sysdeps/ia64/pthread_spin_lock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nptl/sysdeps/ia64/pthread_spin_lock.c b/nptl/sysdeps/ia64/pthread_spin_lock.c
index 71aaef9451..7d25af7c4b 100644
--- a/nptl/sysdeps/ia64/pthread_spin_lock.c
+++ b/nptl/sysdeps/ia64/pthread_spin_lock.c
@@ -25,7 +25,7 @@ pthread_spin_lock (lock)
 {
   int *p = (int *) lock;
 
-  while (__builtin_expect (__sync_val_compare_and_swap_si (p, 0, 1), 0))
+  while (__builtin_expect (__sync_val_compare_and_swap (p, 0, 1), 0))
     {
       /* Spin without using the atomic instruction.  */
       do