]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - kernel/rcu/tree_plugin.h
Merge remote-tracking branch 'rcu/rcu/next'
[karo-tx-linux.git] / kernel / rcu / tree_plugin.h
index e0885cb6c5992a0c61f6efdd93f6ea1c9b3dc91e..3ca32736e264ecf605859e51a0bbf5833871dcef 100644 (file)
@@ -1638,7 +1638,7 @@ module_param(rcu_idle_gp_delay, int, 0644);
 static int rcu_idle_lazy_gp_delay = RCU_IDLE_LAZY_GP_DELAY;
 module_param(rcu_idle_lazy_gp_delay, int, 0644);
 
-extern int tick_nohz_enabled;
+extern int tick_nohz_active;
 
 /*
  * Try to advance callbacks for all flavors of RCU on the current CPU, but
@@ -1735,7 +1735,7 @@ static void rcu_prepare_for_idle(int cpu)
        int tne;
 
        /* Handle nohz enablement switches conservatively. */
-       tne = ACCESS_ONCE(tick_nohz_enabled);
+       tne = ACCESS_ONCE(tick_nohz_active);
        if (tne != rdtp->tick_nohz_enabled_snap) {
                if (rcu_cpu_has_callbacks(cpu, NULL))
                        invoke_rcu_core(); /* force nohz to see update. */