Now that synchronize_rcu() waits for preempt-disable regions of code
as well as RCU read-side critical sections, synchronize_sched() can be
replaced by synchronize_rcu(). This commit therefore makes this change.
Signed-off-by: Paul E. McKenney <paulmck@linux.ibm.com>
for_each_cpu(i, policy->cpus)
cpufreq_remove_update_util_hook(i);
for_each_cpu(i, policy->cpus)
cpufreq_remove_update_util_hook(i);
}
static struct policy_dbs_info *alloc_policy_dbs_info(struct cpufreq_policy *policy,
}
static struct policy_dbs_info *alloc_policy_dbs_info(struct cpufreq_policy *policy,