Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 351058
b: refs/heads/master
c: 191e5ed
h: refs/heads/master
v: v3
  • Loading branch information
Dirk Brandewie authored and Rafael J. Wysocki committed Feb 11, 2013
1 parent 8e0914b commit 33df837
Show file tree
Hide file tree
Showing 2 changed files with 3 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: c88883cd545ea2a0baafe7308618de9cbf420bdd
refs/heads/master: 191e5edf96dc4939f5db0605cc65de9f4d88d155
3 changes: 2 additions & 1 deletion trunk/drivers/cpufreq/intel_pstate.c
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,8 @@ static inline void intel_pstate_calc_busy(struct cpudata *cpu,
core_pct = div64_u64(sample->aperf * 100, sample->mperf);
sample->freq = cpu->pstate.turbo_pstate * core_pct * 1000;

sample->core_pct_busy = sample->pstate_pct_busy * core_pct / 100;
sample->core_pct_busy = div_s64((sample->pstate_pct_busy * core_pct),
100);
}

static inline void intel_pstate_sample(struct cpudata *cpu)
Expand Down

0 comments on commit 33df837

Please sign in to comment.