X-Git-Url: https://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=urcu%2Fstatic%2Furcu.h;h=bee97eeb982f2979dae60a1d1ad95b96b9385393;hp=bde1459f24100467a0fd42f90e82e54dc4e4815e;hb=4de0cd31491bcb93a19c14fc1eb2a2a23ce12855;hpb=0663713865a25964c2932943c48e59ddf3caecd8 diff --git a/urcu/static/urcu.h b/urcu/static/urcu.h index bde1459..bee97ee 100644 --- a/urcu/static/urcu.h +++ b/urcu/static/urcu.h @@ -213,7 +213,7 @@ static inline void smp_mb_slave(int group) #define RCU_GP_CTR_PHASE (1UL << (sizeof(unsigned long) << 2)) #define RCU_GP_CTR_NEST_MASK (RCU_GP_CTR_PHASE - 1) -struct urcu_gp { +struct rcu_gp { /* * Global grace period counter. * Contains the current RCU_GP_CTR_PHASE. @@ -226,7 +226,7 @@ struct urcu_gp { int32_t futex; } __attribute__((aligned(CAA_CACHE_LINE_SIZE))); -extern struct urcu_gp rcu_gp; +extern struct rcu_gp rcu_gp; struct rcu_reader { /* Data used by both reader and synchronize_rcu() */