mirror of
git://sourceware.org/git/glibc.git
synced 2025-01-18 12:16:13 +08:00
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.
This commit is contained in:
parent
8e64f8ba4e
commit
afb24a1083
@ -6,6 +6,11 @@
|
||||
|
||||
2004-08-25 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* 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.
|
||||
|
||||
* nscd/connections.c: Make socket nonblocking so that threads
|
||||
don't get stuck on accept. Fix locking.
|
||||
|
||||
|
@ -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; \
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user