Merge branch 'pm-cpufreq'
[deliverable/linux.git] / kernel / sched / deadline.c
index 57b939c81bce5d06fa587df8915f05affbe22b82..2037cf432a457c066d7da7ffbb278dcc1f0bab0d 100644 (file)
@@ -726,6 +726,10 @@ static void update_curr_dl(struct rq *rq)
        if (!dl_task(curr) || !on_dl_rq(dl_se))
                return;
 
+       /* Kick cpufreq (see the comment in linux/cpufreq.h). */
+       if (cpu_of(rq) == smp_processor_id())
+               cpufreq_trigger_update(rq_clock(rq));
+
        /*
         * Consumed budget is computed considering the time as
         * observed by schedulable tasks (excluding time spent
This page took 0.023999 seconds and 5 git commands to generate.