Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 360902
b: refs/heads/master
c: d3929b8
h: refs/heads/master
v: v3
  • Loading branch information
Dirk Brandewie authored and Rafael J. Wysocki committed Mar 6, 2013
1 parent 2d0ea49 commit f6b4688
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 907cc908108b16ae87b7165be992511c968159f0
refs/heads/master: d3929b832833db870af72479666fa4e4d043e02e
3 changes: 3 additions & 0 deletions trunk/drivers/cpufreq/intel_pstate.c
Original file line number Diff line number Diff line change
Expand Up @@ -662,6 +662,9 @@ static int intel_pstate_set_policy(struct cpufreq_policy *policy)

cpu = all_cpu_data[policy->cpu];

if (!policy->cpuinfo.max_freq)
return -ENODEV;

intel_pstate_get_min_max(cpu, &min, &max);

limits.min_perf_pct = (policy->min * 100) / policy->cpuinfo.max_freq;
Expand Down

0 comments on commit f6b4688

Please sign in to comment.