Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 361896
b: refs/heads/master
c: e6f3eb2
h: refs/heads/master
v: v3
  • Loading branch information
Dirk Brandewie authored and Rafael J. Wysocki committed Mar 25, 2013
1 parent 33d044b commit 1cc4666
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b563b4e3f2dd601e19b46ada31bd176fc0a16efc
refs/heads/master: e6f3eb29be471c4b536a91daab76d4aeda72a261
2 changes: 1 addition & 1 deletion trunk/drivers/cpufreq/intel_pstate.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 1cc4666

Please sign in to comment.