From: Mathieu Desnoyers Date: Mon, 8 Feb 2010 14:28:14 +0000 (-0500) Subject: rename rcu_old_gp_ongoing to rcu_gp_ongoing X-Git-Tag: v0.4.1~5 X-Git-Url: https://git.liburcu.org/?a=commitdiff_plain;h=b95a001f50047ab146becf9b9e514ab0639f67cd;p=urcu.git rename rcu_old_gp_ongoing to rcu_gp_ongoing Signed-off-by: Mathieu Desnoyers --- diff --git a/urcu-static.h b/urcu-static.h index b465ce4..1eeb2e6 100644 --- a/urcu-static.h +++ b/urcu-static.h @@ -242,7 +242,7 @@ static inline void wake_up_gp(void) } } -static inline int rcu_old_gp_ongoing(unsigned long *value) +static inline int rcu_gp_ongoing(unsigned long *value) { unsigned long v; diff --git a/urcu.c b/urcu.c index a3ceca3..5d09a62 100644 --- a/urcu.c +++ b/urcu.c @@ -233,7 +233,7 @@ void update_counter_and_wait(void) } list_for_each_entry_safe(index, tmp, ®istry, head) { - if (!rcu_old_gp_ongoing(&index->ctr)) + if (!rcu_gp_ongoing(&index->ctr)) list_move(&index->head, &qsreaders); }