Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 84017
b: refs/heads/master
c: 89c0484
h: refs/heads/master
i:
  84015: f92f4c5
v: v3
  • Loading branch information
Dave Jones committed Feb 7, 2008
1 parent 9f58cff commit d787c98
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 535ae38c9f4025faadedd17fac5f11e79e1cfdb2
refs/heads/master: 89c04849e71a7f8893474e5415cfd8bcb1b65d94
4 changes: 3 additions & 1 deletion trunk/arch/x86/kernel/cpu/cpufreq/powernow-k8.c
Original file line number Diff line number Diff line change
Expand Up @@ -1234,8 +1234,10 @@ static unsigned int powernowk8_get (unsigned int cpu)
struct powernow_k8_data *data;
cpumask_t oldmask = current->cpus_allowed;
unsigned int khz = 0;
unsigned int first;

data = per_cpu(powernow_data, first_cpu(per_cpu(cpu_core_map, cpu)));
first = first_cpu(per_cpu(cpu_core_map, cpu));
data = per_cpu(powernow_data, first);

if (!data)
return -EINVAL;
Expand Down

0 comments on commit d787c98

Please sign in to comment.