Skip to content

Commit

Permalink
Merge master.kernel.org:/pub/scm/linux/kernel/git/davej/cpufreq
Browse files Browse the repository at this point in the history
  • Loading branch information
Linus Torvalds committed Jul 29, 2005
2 parents a9b2e91 + 094ce7f commit 590f47a
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions arch/i386/kernel/cpu/cpufreq/powernow-k8.c
Original file line number Diff line number Diff line change
Expand Up @@ -735,12 +735,15 @@ static int powernow_k8_cpu_init_acpi(struct powernow_k8_data *data)
}

for (i = 0; i < data->acpi_data.state_count; i++) {
if (data->exttype) {
u32 fid = data->acpi_data.states[i].status & FID_MASK;
u32 vid = (data->acpi_data.states[i].status >> VID_SHIFT) & VID_MASK;
u32 fid;
u32 vid;

if (data->exttype) {
fid = data->acpi_data.states[i].status & FID_MASK;
vid = (data->acpi_data.states[i].status >> VID_SHIFT) & VID_MASK;
} else {
u32 fid = data->acpi_data.states[i].control & FID_MASK;
u32 vid = (data->acpi_data.states[i].control >> VID_SHIFT) & VID_MASK;
fid = data->acpi_data.states[i].control & FID_MASK;
vid = (data->acpi_data.states[i].control >> VID_SHIFT) & VID_MASK;
}

dprintk(" %d : fid 0x%x, vid 0x%x\n", i, fid, vid);
Expand Down

0 comments on commit 590f47a

Please sign in to comment.