Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 39626
b: refs/heads/master
c: 519ce3e
h: refs/heads/master
v: v3
  • Loading branch information
Venkatesh Pallipadi authored and Dave Jones committed Oct 15, 2006
1 parent 5a9c2bb commit cfbdf9a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 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: eff0df65da81c75084d936e86854a3418347c27f
refs/heads/master: 519ce3ec76bf5c068e575800a9977659f7cccec4
11 changes: 8 additions & 3 deletions trunk/arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,7 @@ acpi_cpufreq_target (
unsigned int relation)
{
struct cpufreq_acpi_io *data = acpi_io_data[policy->cpu];
struct cpufreq_acpi_io *cpudata;
struct acpi_processor_performance *perf;
struct cpufreq_freqs freqs;
cpumask_t online_policy_cpus;
Expand Down Expand Up @@ -260,7 +261,8 @@ acpi_cpufreq_target (
break;
}

result = acpi_processor_set_performance (data, j, next_state);
cpudata = acpi_io_data[j];
result = acpi_processor_set_performance(cpudata, j, next_state);
if (result) {
result = -EAGAIN;
break;
Expand All @@ -287,8 +289,11 @@ acpi_cpufreq_target (

if (!cpus_empty(covered_cpus)) {
for_each_cpu_mask(j, covered_cpus) {
policy->cpu = j;
acpi_processor_set_performance (data,
cpus_clear(set_mask);
cpu_set(j, set_mask);
set_cpus_allowed(current, set_mask);
cpudata = acpi_io_data[j];
acpi_processor_set_performance(cpudata,
j,
cur_state);
}
Expand Down

0 comments on commit cfbdf9a

Please sign in to comment.