aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/cpufreq/intel_pstate.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/cpufreq/intel_pstate.c')
-rw-r--r--drivers/cpufreq/intel_pstate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/cpufreq/intel_pstate.c b/drivers/cpufreq/intel_pstate.c
index d6f323560da3..b7fb8b7c980d 100644
--- a/drivers/cpufreq/intel_pstate.c
+++ b/drivers/cpufreq/intel_pstate.c
@@ -572,7 +572,7 @@ static int min_perf_pct_min(void)
572 int turbo_pstate = cpu->pstate.turbo_pstate; 572 int turbo_pstate = cpu->pstate.turbo_pstate;
573 573
574 return turbo_pstate ? 574 return turbo_pstate ?
575 DIV_ROUND_UP(cpu->pstate.min_pstate * 100, turbo_pstate) : 0; 575 (cpu->pstate.min_pstate * 100 / turbo_pstate) : 0;
576} 576}
577 577
578static s16 intel_pstate_get_epb(struct cpudata *cpu_data) 578static s16 intel_pstate_get_epb(struct cpudata *cpu_data)