diff options
| author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2010-06-24 15:10:48 +0200 | 
|---|---|---|
| committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2010-06-24 15:10:48 +0200 | 
| commit | 1dc2afe522b1c6d23c4d16b23e083cc38c69da55 (patch) | |
| tree | 9d7e6a83cb9714c3147bce7accfd0642fa5c2581 /libpthread/nptl/sysdeps/unix/sysv/linux/arm/bits | |
| parent | 59f3d4df3b644583311e89e84cc3fbae6aec8b32 (diff) | |
| download | uClibc-alpine-1dc2afe522b1c6d23c4d16b23e083cc38c69da55.tar.bz2 uClibc-alpine-1dc2afe522b1c6d23c4d16b23e083cc38c69da55.tar.xz | |
use uniform form of C99 keywords
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libpthread/nptl/sysdeps/unix/sysv/linux/arm/bits')
| -rw-r--r-- | libpthread/nptl/sysdeps/unix/sysv/linux/arm/bits/atomic.h | 20 | 
1 files changed, 10 insertions, 10 deletions
| diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/arm/bits/atomic.h b/libpthread/nptl/sysdeps/unix/sysv/linux/arm/bits/atomic.h index b0586ea1e..8f63e2510 100644 --- a/libpthread/nptl/sysdeps/unix/sysv/linux/arm/bits/atomic.h +++ b/libpthread/nptl/sysdeps/unix/sysv/linux/arm/bits/atomic.h @@ -72,11 +72,11 @@ void __arm_link_error (void);  /* Thumb-2 has ldrex/strex.  However it does not have barrier instructions,     so we still need to use the kernel helper.  */  #define __arch_compare_and_exchange_val_32_acq(mem, newval, oldval) \ -  ({ register __typeof (oldval) a_oldval asm ("r0");			      \ -     register __typeof (oldval) a_newval asm ("r1") = (newval);		      \ -     register __typeof (mem) a_ptr asm ("r2") = (mem);			      \ -     register __typeof (oldval) a_tmp asm ("r3");			      \ -     register __typeof (oldval) a_oldval2 asm ("r4") = (oldval);	      \ +  ({ register __typeof (oldval) a_oldval __asm__ ("r0");			      \ +     register __typeof (oldval) a_newval __asm__ ("r1") = (newval);		      \ +     register __typeof (mem) a_ptr __asm__ ("r2") = (mem);			      \ +     register __typeof (oldval) a_tmp __asm__ ("r3");			      \ +     register __typeof (oldval) a_oldval2 __asm__ ("r4") = (oldval);	      \       __asm__ __volatile__						      \  	     ("0:\tldr\t%[tmp],[%[ptr]]\n\t"				      \  	      "cmp\t%[tmp], %[old2]\n\t"				      \ @@ -95,11 +95,11 @@ void __arm_link_error (void);       a_tmp; })  #else  #define __arch_compare_and_exchange_val_32_acq(mem, newval, oldval) \ -  ({ register __typeof (oldval) a_oldval asm ("r0");			      \ -     register __typeof (oldval) a_newval asm ("r1") = (newval);		      \ -     register __typeof (mem) a_ptr asm ("r2") = (mem);			      \ -     register __typeof (oldval) a_tmp asm ("r3");			      \ -     register __typeof (oldval) a_oldval2 asm ("r4") = (oldval);	      \ +  ({ register __typeof (oldval) a_oldval __asm__ ("r0");			      \ +     register __typeof (oldval) a_newval __asm__ ("r1") = (newval);		      \ +     register __typeof (mem) a_ptr __asm__ ("r2") = (mem);			      \ +     register __typeof (oldval) a_tmp __asm__ ("r3");			      \ +     register __typeof (oldval) a_oldval2 __asm__ ("r4") = (oldval);	      \       __asm__ __volatile__						      \  	     ("0:\tldr\t%[tmp],[%[ptr]]\n\t"				      \  	      "cmp\t%[tmp], %[old2]\n\t"				      \ | 
