Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 24519
b: refs/heads/master
c: eef5167
h: refs/heads/master
i:
  24517: 68d9669
  24515: 47f415b
  24511: 1040a95
v: v3
  • Loading branch information
shin, jacob authored and Dave Jones committed Mar 27, 2006
1 parent 9695d36 commit 4dcc328
Show file tree
Hide file tree
Showing 2 changed files with 7 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: 0bb065f29bffc7895f0dbac1fc7d74b3a8d357a9
refs/heads/master: eef5167e5045fa8265b3e72cac9dbc4bc7dd82a6
7 changes: 6 additions & 1 deletion trunk/arch/i386/kernel/cpu/cpufreq/powernow-k8.c
Original file line number Diff line number Diff line change
Expand Up @@ -1095,10 +1095,15 @@ static int __devexit powernowk8_cpu_exit (struct cpufreq_policy *pol)

static unsigned int powernowk8_get (unsigned int cpu)
{
struct powernow_k8_data *data = powernow_data[cpu];
struct powernow_k8_data *data;
cpumask_t oldmask = current->cpus_allowed;
unsigned int khz = 0;

data = powernow_data[first_cpu(cpu_core_map[cpu])];

if (!data)
return -EINVAL;

set_cpus_allowed(current, cpumask_of_cpu(cpu));
if (smp_processor_id() != cpu) {
printk(KERN_ERR PFX "limiting to CPU %d failed in powernowk8_get\n", cpu);
Expand Down

0 comments on commit 4dcc328

Please sign in to comment.