diff options
author | Ulrich Drepper <drepper@redhat.com> | 2004-08-25 23:27:17 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2004-08-25 23:27:17 +0000 |
commit | afb24a108318abce40c78113c0ba26aea3b65f90 (patch) | |
tree | 029d30881d2ef8df77b5a32b213f5129d706b6b6 /sysdeps/powerpc/powerpc64 | |
parent | 8e64f8ba4e49662a1ab79e5921c1a3bfb73d888e (diff) | |
download | glibc-afb24a108318abce40c78113c0ba26aea3b65f90.tar.gz glibc-afb24a108318abce40c78113c0ba26aea3b65f90.tar.xz glibc-afb24a108318abce40c78113c0ba26aea3b65f90.zip |
Update.
* sysdeps/powerpc/powerpc64/bits/atomic.h (__arch_compare_and_exchange_bool_32_acq): Fix case where oldval is negative. (__arch_compare_and_exchange_bool_32_rel): Likewise.
Diffstat (limited to 'sysdeps/powerpc/powerpc64')
-rw-r--r-- | sysdeps/powerpc/powerpc64/bits/atomic.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/powerpc/powerpc64/bits/atomic.h b/sysdeps/powerpc/powerpc64/bits/atomic.h index 1a20e3f0fd..fa25678410 100644 --- a/sysdeps/powerpc/powerpc64/bits/atomic.h +++ b/sysdeps/powerpc/powerpc64/bits/atomic.h @@ -52,7 +52,7 @@ " bne- 1b\n" \ "2: " \ : "=&r" (__tmp), "=r" (__tmp2) \ - : "b" (mem), "r" (oldval), "r" (newval) \ + : "b" (mem), "1" (oldval), "r" (newval) \ : "cr0", "memory"); \ __tmp != 0; \ }) |