aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/rcu/tree_plugin.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2013-12-17 09:27:08 -0500
committerIngo Molnar <mingo@kernel.org>2013-12-17 09:27:08 -0500
commitbb799d3b980eb803ca2da4a4eefbd9308f8d988a (patch)
tree69fbe0cd6d47b23a50f5e1d87bf7489532fae149 /kernel/rcu/tree_plugin.h
parent919fc6e34831d1c2b58bfb5ae261dc3facc9b269 (diff)
parent319e2e3f63c348a9b66db4667efa73178e18b17d (diff)
Merge tag 'v3.13-rc4' into core/locking
Merge Linux 3.13-rc4, to refresh this rather old tree with the latest fixes. Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/rcu/tree_plugin.h')
-rw-r--r--kernel/rcu/tree_plugin.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/rcu/tree_plugin.h b/kernel/rcu/tree_plugin.h
index eb161d80cbde..506a7a97a2e2 100644
--- a/kernel/rcu/tree_plugin.h
+++ b/kernel/rcu/tree_plugin.h
@@ -1643,7 +1643,7 @@ module_param(rcu_idle_gp_delay, int, 0644);
1643static int rcu_idle_lazy_gp_delay = RCU_IDLE_LAZY_GP_DELAY; 1643static int rcu_idle_lazy_gp_delay = RCU_IDLE_LAZY_GP_DELAY;
1644module_param(rcu_idle_lazy_gp_delay, int, 0644); 1644module_param(rcu_idle_lazy_gp_delay, int, 0644);
1645 1645
1646extern int tick_nohz_enabled; 1646extern int tick_nohz_active;
1647 1647
1648/* 1648/*
1649 * Try to advance callbacks for all flavors of RCU on the current CPU, but 1649 * Try to advance callbacks for all flavors of RCU on the current CPU, but
@@ -1740,7 +1740,7 @@ static void rcu_prepare_for_idle(int cpu)
1740 int tne; 1740 int tne;
1741 1741
1742 /* Handle nohz enablement switches conservatively. */ 1742 /* Handle nohz enablement switches conservatively. */
1743 tne = ACCESS_ONCE(tick_nohz_enabled); 1743 tne = ACCESS_ONCE(tick_nohz_active);
1744 if (tne != rdtp->tick_nohz_enabled_snap) { 1744 if (tne != rdtp->tick_nohz_enabled_snap) {
1745 if (rcu_cpu_has_callbacks(cpu, NULL)) 1745 if (rcu_cpu_has_callbacks(cpu, NULL))
1746 invoke_rcu_core(); /* force nohz to see update. */ 1746 invoke_rcu_core(); /* force nohz to see update. */