summaryrefslogtreecommitdiffstats
path: root/libpthread/nptl/sysdeps/sh/pthread_spin_lock.c
diff options
context:
space:
mode:
Diffstat (limited to 'libpthread/nptl/sysdeps/sh/pthread_spin_lock.c')
-rw-r--r--libpthread/nptl/sysdeps/sh/pthread_spin_lock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpthread/nptl/sysdeps/sh/pthread_spin_lock.c b/libpthread/nptl/sysdeps/sh/pthread_spin_lock.c
index e73264108..d158183f0 100644
--- a/libpthread/nptl/sysdeps/sh/pthread_spin_lock.c
+++ b/libpthread/nptl/sysdeps/sh/pthread_spin_lock.c
@@ -25,7 +25,7 @@ pthread_spin_lock (lock)
unsigned int val;
do
- asm volatile ("tas.b @%1; movt %0"
+ __asm__ volatile ("tas.b @%1; movt %0"
: "=&r" (val)
: "r" (lock)
: "memory");