ia64 pt-machine fix
Jes Sorensen
jes@linuxcare.com
Mon Dec 18 12:30:00 GMT 2000
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)
More information about the Libc-hacker
mailing list