summaryrefslogtreecommitdiff
path: root/libpthread/linuxthreads/sysdeps/ia64/pspinlock.c
diff options
context:
space:
mode:
Diffstat (limited to 'libpthread/linuxthreads/sysdeps/ia64/pspinlock.c')
-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 d61aa3f43..8bbaf6f92 100644
--- a/libpthread/linuxthreads/sysdeps/ia64/pspinlock.c
+++ b/libpthread/linuxthreads/sysdeps/ia64/pspinlock.c
@@ -35,7 +35,7 @@ __pthread_spin_lock (pthread_spinlock_t *lock)
{
/* Spin without using the atomic instruction. */
do
- __asm __volatile ("" : : : "memory");
+ __asm__ __volatile__ ("" : : : "memory");
while (*p);
}
return 0;