uatomic compat: complete i386 support
[urcu.git] / urcu-pointer-static.h
index c0533c9d3281af0f613e7490ce18e67594bf75e4..eb073afa18683c5a6d1a626397aef70a21678d2c 100644 (file)
                if (!__builtin_constant_p(_new) ||                      \
                    ((_new) != NULL))                                   \
                        wmb();                                          \
-               (likely(URCU_CAS_AVAIL()) ?                             \
-                       (uatomic_cmpxchg(p, _________pold, _________pnew)) : \
-                       (compat_uatomic_cmpxchg(p, _________pold,       \
-                                               _________pnew)))        \
+               uatomic_cmpxchg(p, _________pold, _________pnew);       \
        })
 
 /**
                if (!__builtin_constant_p(v) ||         \
                    ((v) != NULL))                      \
                        wmb();                          \
-               STORE_SHARED(*(p), _________pv);        \
+               uatomic_set(p, _________pv);            \
        })
 
 /**
This page took 0.02223 seconds and 4 git commands to generate.