From: Mathieu Desnoyers Date: Sun, 27 Nov 2011 08:58:52 +0000 (+0000) Subject: Add missing rcu_dereference_sym_bp X-Git-Tag: v0.6.7~11 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=9b7981bb17c1ed1047516b28e50224c4b93b249d;p=userspace-rcu.git Add missing rcu_dereference_sym_bp Signed-off-by: Mathieu Desnoyers --- diff --git a/urcu-bp.c b/urcu-bp.c index 99fcb0c..f3249b4 100644 --- a/urcu-bp.c +++ b/urcu-bp.c @@ -421,6 +421,11 @@ void rcu_bp_after_fork_child(void) assert(!ret); } +void *rcu_dereference_sym_bp(void *p) +{ + return _rcu_dereference(p); +} + void *rcu_set_pointer_sym_bp(void **p, void *v) { cmm_wmb();