From 1cc4666c66aec42de47635b9a2b91b68423faf1e Mon Sep 17 00:00:00 2001 From: Dirk Brandewie Date: Sun, 24 Mar 2013 00:54:39 +0100 Subject: [PATCH] --- yaml --- r: 361896 b: refs/heads/master c: e6f3eb29be471c4b536a91daab76d4aeda72a261 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/drivers/cpufreq/intel_pstate.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 3d3069a7feb0..60c81bf5b713 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: b563b4e3f2dd601e19b46ada31bd176fc0a16efc +refs/heads/master: e6f3eb29be471c4b536a91daab76d4aeda72a261 diff --git a/trunk/drivers/cpufreq/intel_pstate.c b/trunk/drivers/cpufreq/intel_pstate.c index cd9c5f4f5805..b662529072f7 100644 --- a/trunk/drivers/cpufreq/intel_pstate.c +++ b/trunk/drivers/cpufreq/intel_pstate.c @@ -454,7 +454,7 @@ static inline void intel_pstate_calc_busy(struct cpudata *cpu, sample->idletime_us * 100, sample->duration_us); core_pct = div64_u64(sample->aperf * 100, sample->mperf); - sample->freq = cpu->pstate.turbo_pstate * core_pct * 1000; + sample->freq = cpu->pstate.max_pstate * core_pct * 1000; sample->core_pct_busy = div_s64((sample->pstate_pct_busy * core_pct), 100);