diff options
author | Dave Jones <davej@redhat.com> | 2005-01-14 06:09:21 -0500 |
---|---|---|
committer | Dave Jones <davej@redhat.com> | 2005-01-14 06:09:21 -0500 |
commit | c24a8e84587b96d45ae534546027087e8a62ba1e (patch) | |
tree | 03af11723d9b8d4ef09f2f0b0d7a2731f6584556 /arch | |
parent | 3c959e254108663c7e915eb62e3098c8cb2f0014 (diff) | |
download | history-c24a8e84587b96d45ae534546027087e8a62ba1e.tar.gz |
[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: Hans-Frieder Vogt <hfvogt@arcor.de>
Signed-off-by: Dominik Brodowski <linux@brodo.de>
Signed-off-by: Dave Jones <davej@redhat.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/i386/kernel/cpu/cpufreq/powernow-k8.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/i386/kernel/cpu/cpufreq/powernow-k8.c b/arch/i386/kernel/cpu/cpufreq/powernow-k8.c index 5ebe3d5eba8850..a65ff7e32e5d09 100644 --- a/arch/i386/kernel/cpu/cpufreq/powernow-k8.c +++ b/arch/i386/kernel/cpu/cpufreq/powernow-k8.c @@ -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) ) { |