Browse Source

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>
Hans-Christian Egtvedt 15 years ago
parent
commit
feb64da4d1
1 changed files with 2 additions and 2 deletions
  1. 2 2
      libpthread/linuxthreads/sysdeps/avr32/pt-machine.h

+ 2 - 2
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"