summaryrefslogtreecommitdiffstats
path: root/kernel/rcutree.c
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>2009-11-10 13:37:21 -0800
committerIngo Molnar <mingo@elte.hu>2009-11-10 22:48:50 +0100
commit4bcfe055030d9e953945def3864f7e6997b27782 (patch)
tree5021112c826572bd0b356f193c2be742e54deb4f /kernel/rcutree.c
parent956539b75921f561c0956c22d37320780e8b4ba1 (diff)
downloadtalos-obmc-linux-4bcfe055030d9e953945def3864f7e6997b27782.tar.gz
talos-obmc-linux-4bcfe055030d9e953945def3864f7e6997b27782.zip
rcu: Rename dynticks_completed to completed_fqs
This field is used whether or not CONFIG_NO_HZ is set, so the old name of ->dynticks_completed is quite misleading. Change to ->completed_fqs, given that it the value that force_quiescent_state() is trying to drive the ->completed field away from. Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Cc: laijs@cn.fujitsu.com Cc: dipankar@in.ibm.com Cc: mathieu.desnoyers@polymtl.ca Cc: josh@joshtriplett.org Cc: dvhltc@us.ibm.com Cc: niv@us.ibm.com Cc: peterz@infradead.org Cc: rostedt@goodmis.org Cc: Valdis.Kletnieks@vt.edu Cc: dhowells@redhat.com LKML-Reference: <12578890423298-git-send-email-> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/rcutree.c')
-rw-r--r--kernel/rcutree.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/rcutree.c b/kernel/rcutree.c
index ec007dd22632..26fc7807761d 100644
--- a/kernel/rcutree.c
+++ b/kernel/rcutree.c
@@ -187,7 +187,7 @@ static struct rcu_node *rcu_get_root(struct rcu_state *rsp)
*/
static void dyntick_record_completed(struct rcu_state *rsp, long comp)
{
- rsp->dynticks_completed = comp;
+ rsp->completed_fqs = comp;
}
#ifdef CONFIG_SMP
@@ -197,7 +197,7 @@ static void dyntick_record_completed(struct rcu_state *rsp, long comp)
*/
static long dyntick_recall_completed(struct rcu_state *rsp)
{
- return rsp->dynticks_completed;
+ return rsp->completed_fqs;
}
/*
OpenPOWER on IntegriCloud