From 17040dbc8fa639c3895fe18a9b4d389f08f9dc13 Mon Sep 17 00:00:00 2001 From: hboehm Date: Thu, 10 Jul 2008 23:27:45 +0000 Subject: [PATCH] 2008-07-10 Hans Boehm * src/atomic_ops/sysdeps/gcc/m68k.h: Remove SMP-unsafe AO_or_full, and let it be autogenerated instead. --- ChangeLog | 4 ++++ src/atomic_ops/sysdeps/gcc/m68k.h | 12 ------------ 2 files changed, 4 insertions(+), 12 deletions(-) diff --git a/ChangeLog b/ChangeLog index 27a1394..4107d13 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2008-07-10 Hans Boehm + * src/atomic_ops/sysdeps/gcc/m68k.h: Remove SMP-unsafe + AO_or_full, and let it be autogenerated instead. + 2008-07-03 Hans Boehm (Really Thiemo Seufer) * src/atomic_ops/sysdeps/gcc/mips.h: Really add mips support, fixing a merge accident. diff --git a/src/atomic_ops/sysdeps/gcc/m68k.h b/src/atomic_ops/sysdeps/gcc/m68k.h index 4c3e352..4bec437 100644 --- a/src/atomic_ops/sysdeps/gcc/m68k.h +++ b/src/atomic_ops/sysdeps/gcc/m68k.h @@ -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" -- 2.40.0