Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 25331
b: refs/heads/master
c: d7fa706
h: refs/heads/master
i:
  25329: f0d0639
  25327: 03b4815
v: v3
  • Loading branch information
Andi Kleen authored and Linus Torvalds committed Apr 9, 2006
1 parent 58320b6 commit ce4a16d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 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: 95d769aaf47abfc77b600631403ff5af6c990cff
refs/heads/master: d7fa706ce2c29cb751c15ca00f3aa7b223e3c9f0
7 changes: 3 additions & 4 deletions trunk/arch/i386/kernel/cpu/cpufreq/powernow-k8.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ static DEFINE_MUTEX(fidvid_mutex);
static struct powernow_k8_data *powernow_data[NR_CPUS];

#ifndef CONFIG_SMP
static cpumask_t cpu_core_map[1] = { CPU_MASK_ALL };
static cpumask_t cpu_core_map[1];
#endif

/* Return a frequency in MHz, given an input fid */
Expand Down Expand Up @@ -977,7 +977,7 @@ static int __cpuinit powernowk8_cpu_init(struct cpufreq_policy *pol)
{
struct powernow_k8_data *data;
cpumask_t oldmask = CPU_MASK_ALL;
int rc, i;
int rc;

if (!cpu_online(pol->cpu))
return -ENODEV;
Expand Down Expand Up @@ -1063,8 +1063,7 @@ static int __cpuinit powernowk8_cpu_init(struct cpufreq_policy *pol)
printk("cpu_init done, current fid 0x%x, vid 0x%x\n",
data->currfid, data->currvid);

for_each_cpu_mask(i, cpu_core_map[pol->cpu])
powernow_data[i] = data;
powernow_data[pol->cpu] = data;

return 0;

Expand Down

0 comments on commit ce4a16d

Please sign in to comment.