* 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)
(__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

index 335b510..ae4ff0e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+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>.
+
 2003-03-25  Alexandre Oliva  <aoliva@redhat.com>
 
        * sysdeps/mips/sgidefs.h (_MIPS_ISA_MIPS32, _MIPS_ISA_MIPS64):