This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

ia64 pt-machine fix


Please

Jes

2000-12-18  Jes Sorensen  <jes@linuxcare.com>

	* linuxthreads/sysdeps/ia64/pt-machine.h: __compare_and_swap
	and compare_and_swap_with_release_semantics returns int not long.

--- linuxthreads/sysdeps/ia64/pt-machine.h~	Tue Jul 18 08:22:08 2000
+++ linuxthreads/sysdeps/ia64/pt-machine.h	Mon Dec 18 15:12:24 2000
@@ -58,7 +58,7 @@
 
 #define HAS_COMPARE_AND_SWAP_WITH_RELEASE_SEMANTICS
 
-PT_EI long int
+PT_EI int
 __compare_and_swap (long int *p, long int oldval, long int newval)
 {
   long int readval;
@@ -72,7 +72,7 @@
   return readval == oldval;
 }
 
-PT_EI long int
+PT_EI int
 __compare_and_swap_with_release_semantics (long int *p,
 					   long int oldval,
 					   long int newval)

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]