* sysdeps/powerpc/bits/atomic.h (__arch_atomic_exchange_32): New macro.
authorRoland McGrath <roland@gnu.org>
Tue, 25 Mar 2003 22:40:43 +0000 (22:40 +0000)
committerRoland McGrath <roland@gnu.org>
Tue, 25 Mar 2003 22:40:43 +0000 (22:40 +0000)
commit7456156f81afd6634b3824f6f924c1f96a84952e
treec7fa15a72e04eaf48bd7bb10f6075aae2bfa0f3d
parent3e195d9371956446c8182af812723300010f0bb8
* sysdeps/powerpc/bits/atomic.h (__arch_atomic_exchange_32): New macro.

(__arch_atomic_exchange_64): New macro.
(atomic_exchange): Use them.
(__arch_atomic_exchange_and_add_32): New macro.
(__arch_atomic_exchange_and_add_64): New macro.
(atomic_exchange_and_add): Use them.
Original patch from Steven Munroe <sjmunroe@us.ibm.com>.
ChangeLog