diff options
author | Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com> | 2008-10-31 09:50:42 +0000 |
---|---|---|
committer | Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com> | 2008-10-31 09:50:42 +0000 |
commit | feb64da4d182e1f112bf7173d6f9542e293127ea (patch) | |
tree | 594265168482beaa40ef807da5351f8a31aafacc /libpthread/linuxthreads/sysdeps/avr32/pt-machine.h | |
parent | 3127a9e72dd0f6164f1ab056a490efd558606a63 (diff) |
Resync pt-machine.h for AVR32 linuxthreads and linuxthreads.old
This patch synchronizes the AVR32 specific pt-machine.h header file for
linuxthreads and linuxthreads.old implementation.
Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
Diffstat (limited to 'libpthread/linuxthreads/sysdeps/avr32/pt-machine.h')
-rw-r--r-- | libpthread/linuxthreads/sysdeps/avr32/pt-machine.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libpthread/linuxthreads/sysdeps/avr32/pt-machine.h b/libpthread/linuxthreads/sysdeps/avr32/pt-machine.h index b4c5dd0f4..5735d0ea2 100644 --- a/libpthread/linuxthreads/sysdeps/avr32/pt-machine.h +++ b/libpthread/linuxthreads/sysdeps/avr32/pt-machine.h @@ -16,7 +16,7 @@ #endif static __inline__ int -_test_and_set (int *p, int v) __THROW +_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" |