diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2011-03-19 00:49:00 +0100 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2012-06-15 14:00:28 +0200 |
commit | 934f2fc45e37745bf53db383d0ea11dc3ad4c152 (patch) | |
tree | db217819993cc283e998470bbda75508bdcb614d /libpthread/nptl/sysdeps/sparc/sparc32 | |
parent | eb82a48383183610eea095c17446f596319492ec (diff) |
change __asm to __asm__ and __volatile to __volatile__
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libpthread/nptl/sysdeps/sparc/sparc32')
-rw-r--r-- | libpthread/nptl/sysdeps/sparc/sparc32/pthread_spin_lock.c | 2 | ||||
-rw-r--r-- | libpthread/nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libpthread/nptl/sysdeps/sparc/sparc32/pthread_spin_lock.c b/libpthread/nptl/sysdeps/sparc/sparc32/pthread_spin_lock.c index c263bb7c8..0c28d8e1b 100644 --- a/libpthread/nptl/sysdeps/sparc/sparc32/pthread_spin_lock.c +++ b/libpthread/nptl/sysdeps/sparc/sparc32/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" " orcc %%g2, 0x0, %%g0\n" " bne,a 2f\n" 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" |