Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 44648
b: refs/heads/master
c: a507ac4
h: refs/heads/master
v: v3
  • Loading branch information
Mattia Dongili authored and Dave Jones committed Dec 17, 2006
1 parent 4352947 commit fd4b1c3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 4e581ff165f26ba3d37a4a836b2e3add47bec72f
refs/heads/master: a507ac4b01ed379a74eca5060f3553c4a4e5854c
4 changes: 2 additions & 2 deletions trunk/arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c
Original file line number Diff line number Diff line change
Expand Up @@ -682,14 +682,14 @@ static int acpi_cpufreq_cpu_init(struct cpufreq_policy *policy)
if (result)
goto err_freqfree;

switch (data->cpu_feature) {
switch (perf->control_register.space_id) {
case ACPI_ADR_SPACE_SYSTEM_IO:
/* Current speed is unknown and not detectable by IO port */
policy->cur = acpi_cpufreq_guess_freq(data, policy->cpu);
break;
case ACPI_ADR_SPACE_FIXED_HARDWARE:
acpi_cpufreq_driver.get = get_cur_freq_on_cpu;
get_cur_freq_on_cpu(cpu);
policy->cur = get_cur_freq_on_cpu(cpu);
break;
default:
break;
Expand Down

0 comments on commit fd4b1c3

Please sign in to comment.