From: Juri Lelli Date: Fri, 11 Dec 2015 11:55:51 +0000 (+0000) Subject: fixup! sched: scheduler-driven cpu frequency selection X-Git-Tag: firefly_0821_release~176^2~251 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=d983b1c50beeb12157152da9cd79ed5d200fba63;p=firefly-linux-kernel-4.4.55.git fixup! sched: scheduler-driven cpu frequency selection Signed-off-by: Juri Lelli --- diff --git a/kernel/sched/cpufreq_sched.c b/kernel/sched/cpufreq_sched.c index 5afe56a82491..e1d208e101ed 100644 --- a/kernel/sched/cpufreq_sched.c +++ b/kernel/sched/cpufreq_sched.c @@ -119,9 +119,9 @@ static int cpufreq_sched_thread(void *data) } do { - set_current_state(TASK_INTERRUPTIBLE); new_request = gd->requested_freq; if (new_request == last_request) { + set_current_state(TASK_INTERRUPTIBLE); schedule(); } else { /*