X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=urcu-pointer-static.h;h=eb073afa18683c5a6d1a626397aef70a21678d2c;hb=2837ec4082909692bd56aa2b0e217d3e30a3e71b;hp=33bfdeecae3351a4b339481eb253b342434ece76;hpb=48d848c7291ec22da6258ac03cd9c1dafec1fdfb;p=urcu.git diff --git a/urcu-pointer-static.h b/urcu-pointer-static.h index 33bfdee..eb073af 100644 --- a/urcu-pointer-static.h +++ b/urcu-pointer-static.h @@ -103,7 +103,7 @@ if (!__builtin_constant_p(v) || \ ((v) != NULL)) \ wmb(); \ - STORE_SHARED(*(p), _________pv); \ + uatomic_set(p, _________pv); \ }) /**