Merge tag 'arm64-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64...
[linux-block.git] / kernel / sched / cpufreq_schedutil.c
index 4f09afd2f32110dfd8280382f2a68a64bc71df25..57124614363df6bb3db12511f66a0aa1ba14c5cb 100644 (file)
@@ -151,6 +151,7 @@ static unsigned int get_next_freq(struct sugov_policy *sg_policy,
        unsigned int freq = arch_scale_freq_invariant() ?
                                policy->cpuinfo.max_freq : policy->cur;
 
+       util = map_util_perf(util);
        freq = map_util_freq(util, freq, max);
 
        if (freq == sg_policy->cached_raw_freq && !sg_policy->need_freq_update)