Fix rcu_assign_pointer() dynamic linking behavior
[urcu.git] / urcu-qsbr.h
index fdf47124d85f2b170f78410a996f5c3f40e4f8cc..6eebdc7a489badf25d6f76e29a964e563142fd83 100644 (file)
@@ -102,7 +102,7 @@ extern void rcu_thread_online(void);
 extern void *rcu_assign_pointer_sym(void **p, void *v);
 
 #define rcu_assign_pointer(p, v)                       \
-       rcu_assign_pointer_sym((void **)(p), (v))
+       rcu_assign_pointer_sym((void **)(&(p)), (v))
 
 extern void *rcu_cmpxchg_pointer_sym(void **p, void *old, void *_new);
 #define rcu_cmpxchg_pointer(p, old, _new)              \
This page took 0.0292 seconds and 4 git commands to generate.