diff options
Diffstat (limited to 'kernel/rcu')
| -rw-r--r-- | kernel/rcu/tree_plugin.h | 4 |
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); | |||
| 1643 | static int rcu_idle_lazy_gp_delay = RCU_IDLE_LAZY_GP_DELAY; | 1643 | static int rcu_idle_lazy_gp_delay = RCU_IDLE_LAZY_GP_DELAY; |
| 1644 | module_param(rcu_idle_lazy_gp_delay, int, 0644); | 1644 | module_param(rcu_idle_lazy_gp_delay, int, 0644); |
| 1645 | 1645 | ||
| 1646 | extern int tick_nohz_enabled; | 1646 | extern 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. */ |
