cpufreq / sched: Pass flags to cpufreq_update_util()
[cascardo/linux.git] / kernel / sched / rt.c
index d5690b7..8a9cd9b 100644 (file)
@@ -957,9 +957,9 @@ static void update_curr_rt(struct rq *rq)
        if (unlikely((s64)delta_exec <= 0))
                return;
 
-       /* Kick cpufreq (see the comment in linux/cpufreq.h). */
+       /* Kick cpufreq (see the comment in kernel/sched/sched.h). */
        if (cpu_of(rq) == smp_processor_id())
-               cpufreq_trigger_update(rq_clock(rq));
+               cpufreq_update_util(rq_clock(rq), SCHED_CPUFREQ_RT);
 
        schedstat_set(curr->se.statistics.exec_max,
                      max(curr->se.statistics.exec_max, delta_exec));