diff --git a/include/boost/smart_ptr/detail/sp_counted_base_cw_ppc.hpp b/include/boost/smart_ptr/detail/sp_counted_base_cw_ppc.hpp index 58a69e6..1d58fbe 100644 --- a/include/boost/smart_ptr/detail/sp_counted_base_cw_ppc.hpp +++ b/include/boost/smart_ptr/detail/sp_counted_base_cw_ppc.hpp @@ -60,14 +60,10 @@ inline long atomic_decrement( register long * pw ) { register int a; + __sync(); + asm { -#if defined(__PPCZen__) || defined(__PPCe500__) || defined(__PPCe500v2__) - msync -#else - sync -#endif - loop: lwarx a, 0, pw