summaryrefslogtreecommitdiff
path: root/libpthread/nptl/sysdeps/sparc/sparc32/sparcv9
diff options
context:
space:
mode:
Diffstat (limited to 'libpthread/nptl/sysdeps/sparc/sparc32/sparcv9')
-rw-r--r--libpthread/nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpthread/nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.c b/libpthread/nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.c
index 0e18621e6..6506e4fd6 100644
--- a/libpthread/nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.c
+++ b/libpthread/nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.c
@@ -22,7 +22,7 @@
int
pthread_spin_lock (pthread_spinlock_t *lock)
{
- __asm__ __volatile
+ __asm__ __volatile__
("1: ldstub [%0], %%g2\n"
" brnz,pn %%g2, 2f\n"
" membar #StoreLoad | #StoreStore\n"