Commit c24a8e84 authored by Dave Jones's avatar Dave Jones

[CPUFREQ] Fix structure name usage in powernow-k8

With 2.6.10-mm2 (or even with -mm1) some structures in struct psb_s have been
renamed in powernow-k8.h, but the renaming has not been done properly for all
occurences in powernow-k8.c.
This prevents cpufreq from accepting the BIOS PST-tables.

The following patch corrects this by renaming the incorrectly named variable
in powernow-k8.c, following the definition in the powernow-k8.h header file.
Signed-off-by: default avatarHans-Frieder Vogt <hfvogt@arcor.de>
Signed-off-by: default avatarDominik Brodowski <linux@brodo.de>
Signed-off-by: default avatarDave Jones <davej@redhat.com>
parent 3c959e25
......@@ -637,8 +637,8 @@ static int find_psb_table(struct powernow_k8_data *data)
dprintk("isochronous relief time: %d\n", data->irt);
dprintk("maximum voltage step: %d - 0x%x\n", mvs, data->vidmvs);
dprintk("numpst: 0x%x\n", psb->numps);
cpst = psb->numps;
dprintk("numpst: 0x%x\n", psb->num_tables);
cpst = psb->num_tables;
if ((psb->cpuid == 0x00000fc0) || (psb->cpuid == 0x00000fe0) ){
thiscpuid = cpuid_eax(CPUID_PROCESSOR_SIGNATURE);
if ((thiscpuid == 0x00000fc0) || (thiscpuid == 0x00000fe0) ) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment