diff options
author | Carmelo Amoroso <carmelo.amoroso@st.com> | 2008-11-17 09:45:29 +0000 |
---|---|---|
committer | Carmelo Amoroso <carmelo.amoroso@st.com> | 2008-11-17 09:45:29 +0000 |
commit | 9584b4e582b293ead79d8bb0ff85c1ef12a888d9 (patch) | |
tree | 7eaf3bc76dd05e6d9a9c7002e7a9d5e23d5cd5fd /libpthread/linuxthreads/sysdeps/avr32/pt-machine.h | |
parent | cf8c7b558c1c33cafe557ced361554461485af6c (diff) | |
download | uClibc-alpine-9584b4e582b293ead79d8bb0ff85c1ef12a888d9.tar.bz2 uClibc-alpine-9584b4e582b293ead79d8bb0ff85c1ef12a888d9.tar.xz |
Synch with trunk @ 24071.
Step 1
linuxthreads - linuxthreads_db - linuxthread.old - linuxthreads.old_db
Diffstat (limited to 'libpthread/linuxthreads/sysdeps/avr32/pt-machine.h')
-rw-r--r-- | libpthread/linuxthreads/sysdeps/avr32/pt-machine.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libpthread/linuxthreads/sysdeps/avr32/pt-machine.h b/libpthread/linuxthreads/sysdeps/avr32/pt-machine.h index b93bc47f0..5735d0ea2 100644 --- a/libpthread/linuxthreads/sysdeps/avr32/pt-machine.h +++ b/libpthread/linuxthreads/sysdeps/avr32/pt-machine.h @@ -15,8 +15,8 @@ # define PT_EI __extern_always_inline #endif -static inline int -_test_and_set (int *p, int v) __THROW +static __inline__ int +_test_and_set (int *p, int v) { int result; @@ -52,7 +52,7 @@ register char * stack_pointer __asm__ ("sp"); PT_EI int __compare_and_swap(long int *p, long int oldval, long int newval) { - int result; + long int result; __asm__ __volatile__( "/* Inline compare and swap */\n" |