Merge tag 'pm-5.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm
[linux-2.6-microblaze.git] / kernel / sched / cpufreq_schedutil.c
index b03ca2f..86800b4 100644 (file)
@@ -268,9 +268,9 @@ unsigned long schedutil_cpu_util(int cpu, unsigned long util_cfs,
         * irq metric. Because IRQ/steal time is hidden from the task clock we
         * need to scale the task numbers:
         *
-        *              1 - irq
-        *   U' = irq + ------- * U
-        *                max
+        *              max - irq
+        *   U' = irq + --------- * U
+        *                 max
         */
        util = scale_irq_capacity(util, irq, max);
        util += irq;