summaryrefslogtreecommitdiff
path: root/libpthread/nptl/sysdeps/sh/pthread_spin_lock.c
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2010-06-24 15:10:48 +0200
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2010-06-24 15:10:48 +0200
commit1dc2afe522b1c6d23c4d16b23e083cc38c69da55 (patch)
tree9d7e6a83cb9714c3147bce7accfd0642fa5c2581 /libpthread/nptl/sysdeps/sh/pthread_spin_lock.c
parent59f3d4df3b644583311e89e84cc3fbae6aec8b32 (diff)
use uniform form of C99 keywords
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
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 2c72eb610..74fad3388 100644
--- a/libpthread/nptl/sysdeps/sh/pthread_spin_lock.c
+++ b/libpthread/nptl/sysdeps/sh/pthread_spin_lock.c
@@ -24,7 +24,7 @@ pthread_spin_lock (pthread_spinlock_t *lock)
unsigned int val;
do
- __asm__ volatile ("tas.b @%1; movt %0"
+ __asm__ __volatile__ ("tas.b @%1; movt %0"
: "=&r" (val)
: "r" (lock)
: "memory");