Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 144106
b: refs/heads/master
c: e0e8c4e
h: refs/heads/master
v: v3
  • Loading branch information
Thomas Renninger authored and Len Brown committed Apr 20, 2009
1 parent c5dc502 commit 3664d88
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 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: 093f13e23137b9e5f7629dd5932ceea1419e2b61
refs/heads/master: e0e8c4e512e92bc25c19bd8d4926de17d2f8fbf2
8 changes: 2 additions & 6 deletions trunk/arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c
Original file line number Diff line number Diff line change
Expand Up @@ -693,13 +693,9 @@ static int acpi_cpufreq_cpu_init(struct cpufreq_policy *policy)
/* Check for high latency (>20uS) from buggy BIOSes, like on T42 */
if (perf->control_register.space_id == ACPI_ADR_SPACE_FIXED_HARDWARE &&
policy->cpuinfo.transition_latency > 20 * 1000) {
static int print_once;
policy->cpuinfo.transition_latency = 20 * 1000;
if (!print_once) {
print_once = 1;
printk(KERN_INFO "Capping off P-state tranision latency"
" at 20 uS\n");
}
printk_once(KERN_INFO "Capping off P-state tranision"
" latency at 20 uS\n");
}

data->max_freq = perf->states[0].core_frequency * 1000;
Expand Down

0 comments on commit 3664d88

Please sign in to comment.