2003-03-25 Roland McGrath <roland@redhat.com>
authorRoland McGrath <roland@gnu.org>
Tue, 25 Mar 2003 22:40:21 +0000 (22:40 +0000)
committerRoland McGrath <roland@gnu.org>
Tue, 25 Mar 2003 22:40:21 +0000 (22:40 +0000)
commit3e195d9371956446c8182af812723300010f0bb8
tree90c76aae8c7a804f8533385a7cc04b70649b4de2
parentbacb02966f9e992d923ea988bb11c51ab297b10c
2003-03-25  Roland McGrath  <roland@redhat.com>

* 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>.
sysdeps/powerpc/bits/atomic.h