Rename define
authorMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Fri, 18 Sep 2009 12:32:23 +0000 (08:32 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Fri, 18 Sep 2009 12:32:23 +0000 (08:32 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
urcu-qsbr-static.h
urcu-qsbr.c

index 887dc3d64e949ab843a248846e4286b4fbdbf7bb..57f0c50a8b899b2db0fc77084b052beb534d9d5e 100644 (file)
@@ -162,7 +162,7 @@ static inline void reader_barrier()
 }
 
 #define RCU_GP_ONLINE          (1UL << 0)
-#define RCU_GP_COUNT           (1UL << 1)
+#define RCU_GP_CTR             (1UL << 1)
 
 /*
  * Global quiescent period counter with low-order bits unused.
index 5f9e46dc28f6f88d11004c95acda61bd24643543..ba6e02af27f3a18b60f26d56779bb5d4f869524e 100644 (file)
@@ -153,7 +153,7 @@ void synchronize_rcu(void)
                STORE_SHARED(rcu_reader_qs_gp, 0);
 
        internal_urcu_lock();
-       STORE_SHARED(urcu_gp_ctr, urcu_gp_ctr + RCU_GP_COUNT);
+       STORE_SHARED(urcu_gp_ctr, urcu_gp_ctr + RCU_GP_CTR);
        wait_for_quiescent_state();
        internal_urcu_unlock();
 
This page took 0.034337 seconds and 4 git commands to generate.