]> granicus.if.org Git - libatomic_ops/commitdiff
2008-07-10 Hans Boehm <Hans.Boehm@hp.com>
authorhboehm <hboehm>
Thu, 10 Jul 2008 23:27:45 +0000 (23:27 +0000)
committerIvan Maidanski <ivmai@mail.ru>
Mon, 25 Jul 2011 12:03:24 +0000 (16:03 +0400)
* src/atomic_ops/sysdeps/gcc/m68k.h: Remove SMP-unsafe
AO_or_full, and let it be autogenerated instead.

ChangeLog
src/atomic_ops/sysdeps/gcc/m68k.h

index 27a13945a2745748d5318bbf8d3922d3673b4406..4107d1342c42a53b5f537f8a50a74e4ba81110b4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-07-10 Hans Boehm <Hans.Boehm@hp.com>
+       * src/atomic_ops/sysdeps/gcc/m68k.h: Remove SMP-unsafe
+       AO_or_full, and let it be autogenerated instead.
+       
 2008-07-03 Hans Boehm <Hans.Boehm@hp.com> (Really Thiemo Seufer)
        * src/atomic_ops/sysdeps/gcc/mips.h: Really add mips support,
        fixing a merge accident.
index 4c3e3526ed1a74ef6278cfd185e6fec358771159..4bec437c12143450b9b821288bda5f353646d232 100644 (file)
@@ -65,17 +65,5 @@ AO_compare_and_swap_full(volatile AO_t *addr,
 
 #define AO_HAVE_compare_and_swap_full
 
-/* This is not really SMP safe...              */
-AO_INLINE void
-AO_or_full (volatile AO_t *p, AO_t incr)
-{
-  __asm__ __volatile__ (
-               "or.l %1,%0"
-               : "=m" (*p)
-               : "d" (incr), "m" (*p)
-               : "memory");
-}
-
-#define AO_HAVE_or_full
 
 #include "../ao_t_is_int.h"