rename rcu_old_gp_ongoing to rcu_gp_ongoing
authorMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Mon, 8 Feb 2010 14:28:14 +0000 (09:28 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Mon, 8 Feb 2010 14:28:14 +0000 (09:28 -0500)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
urcu-static.h
urcu.c

index b465ce40a3f020dcfbbfb4226c53356a6c56b953..1eeb2e6b03319c313d051ef71a3148add48ff264 100644 (file)
@@ -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 a3ceca3f5263be7812288f4e909eed6878246980..5d09a62cfe935072ed0f9471a70c59d0cab4f98e 100644 (file)
--- a/urcu.c
+++ b/urcu.c
@@ -233,7 +233,7 @@ void update_counter_and_wait(void)
                }
 
                list_for_each_entry_safe(index, tmp, &registry, head) {
-                       if (!rcu_old_gp_ongoing(&index->ctr))
+                       if (!rcu_gp_ongoing(&index->ctr))
                                list_move(&index->head, &qsreaders);
                }
 
This page took 0.034756 seconds and 4 git commands to generate.