X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=urcu.c;h=7c03d900c7767f80c340d15cffcfeebc15f585c6;hb=1745be1a65fcf0398247b03ed30efeeeba52482a;hp=a5178c0054bea5f0363b571d542b98b4d6803f9e;hpb=26836791448bdd80e7b1fc32caf1055a1cb52647;p=urcu.git diff --git a/urcu.c b/urcu.c index a5178c0..7c03d90 100644 --- a/urcu.c +++ b/urcu.c @@ -97,11 +97,11 @@ unsigned long rcu_gp_ctr = RCU_GP_COUNT; * Written to only by each individual reader. Read by both the reader and the * writers. */ -DEFINE_URCU_TLS(struct rcu_reader, rcu_reader); +__DEFINE_URCU_TLS_GLOBAL(struct rcu_reader, rcu_reader); #ifdef DEBUG_YIELD unsigned int yield_active; -DEFINE_URCU_TLS(unsigned int, rand_yield); +__DEFINE_URCU_TLS_GLOBAL(unsigned int, rand_yield); #endif static CDS_LIST_HEAD(registry);