From b95a001f50047ab146becf9b9e514ab0639f67cd Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Mon, 8 Feb 2010 09:28:14 -0500 Subject: [PATCH] rename rcu_old_gp_ongoing to rcu_gp_ongoing Signed-off-by: Mathieu Desnoyers --- urcu-static.h | 2 +- urcu.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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); } -- 2.34.1