uatomic compat: complete i386 support
[urcu.git] / urcu-pointer-static.h
index 0a01f1ffc944550d3c66cdf9b8d5a53c2a5c8225..eb073afa18683c5a6d1a626397aef70a21678d2c 100644 (file)
@@ -32,7 +32,7 @@
 #include <urcu/compiler.h>
 #include <urcu/arch.h>
 #include <urcu/system.h>
-#include <urcu/arch_uatomic.h>
+#include <urcu/uatomic_arch.h>
 
 /**
  * _rcu_dereference - reads (copy) a RCU-protected pointer to a local variable
                if (!__builtin_constant_p(v) ||         \
                    ((v) != NULL))                      \
                        wmb();                          \
-               STORE_SHARED(*(p), _________pv);        \
+               uatomic_set(p, _________pv);            \
        })
 
 /**
This page took 0.023486 seconds and 4 git commands to generate.