X-Git-Url: http://git.lttng.org/?p=urcu.git;a=blobdiff_plain;f=src%2Furcu-bp.c;h=54fda1650e4f813694886d3eca64e708b93eb76f;hp=0653f9dff769b89281d5ec2edf4608d5604edbdf;hb=99bfa9e9e88b273c5a3134eafb9c31938f3af7d6;hpb=ce28e67a534dcf0b68ccad2218e5a2e552e6e469 diff --git a/src/urcu-bp.c b/src/urcu-bp.c index 0653f9d..54fda16 100644 --- a/src/urcu-bp.c +++ b/src/urcu-bp.c @@ -151,8 +151,7 @@ URCU_ATTR_ALIAS("urcu_bp_gp") extern struct urcu_bp_gp rcu_gp_bp; * by both the reader and the writers. */ DEFINE_URCU_TLS(struct urcu_bp_reader *, urcu_bp_reader); -URCU_ATTR_ALIAS("urcu_bp_reader") -extern struct urcu_bp_reader *rcu_reader_bp; +DEFINE_URCU_TLS_ALIAS(struct urcu_bp_reader *, urcu_bp_reader, rcu_reader_bp); static CDS_LIST_HEAD(registry);