about summary refs log tree commit diff
path: root/linuxthreads/sysdeps
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-12-18 22:36:28 +0000
committerUlrich Drepper <drepper@redhat.com>2000-12-18 22:36:28 +0000
commitba908190d76f942235df208b90d85e71ae17e984 (patch)
tree58dbd4ea4cb3643742789ac35982575fab5d7be3 /linuxthreads/sysdeps
parent9b4b880b41753ca013f8b694f722c7967a7bfd35 (diff)
downloadglibc-ba908190d76f942235df208b90d85e71ae17e984.tar.gz
glibc-ba908190d76f942235df208b90d85e71ae17e984.tar.xz
glibc-ba908190d76f942235df208b90d85e71ae17e984.zip
Update.
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.
Diffstat (limited to 'linuxthreads/sysdeps')
-rw-r--r--linuxthreads/sysdeps/ia64/pt-machine.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/linuxthreads/sysdeps/ia64/pt-machine.h b/linuxthreads/sysdeps/ia64/pt-machine.h
index 58cccc2962..a243c8b577 100644
--- a/linuxthreads/sysdeps/ia64/pt-machine.h
+++ b/linuxthreads/sysdeps/ia64/pt-machine.h
@@ -58,7 +58,7 @@ register struct _pthread_descr_struct *__thread_self __asm__("r13");
 
 #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 @@ __compare_and_swap (long int *p, long int oldval, long int newval)
   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)