aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/cpu/cpufreq/powernow-k8.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kernel/cpu/cpufreq/powernow-k8.c')
-rw-r--r--arch/x86/kernel/cpu/cpufreq/powernow-k8.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/kernel/cpu/cpufreq/powernow-k8.c b/arch/x86/kernel/cpu/cpufreq/powernow-k8.c
index 52fce638f444..6f3dc8fbbfdc 100644
--- a/arch/x86/kernel/cpu/cpufreq/powernow-k8.c
+++ b/arch/x86/kernel/cpu/cpufreq/powernow-k8.c
@@ -935,7 +935,8 @@ static int fill_powernow_table_pstate(struct powernow_k8_data *data,
935 powernow_table[i].index = index; 935 powernow_table[i].index = index;
936 936
937 /* Frequency may be rounded for these */ 937 /* Frequency may be rounded for these */
938 if (boot_cpu_data.x86 == 0x10 || boot_cpu_data.x86 == 0x11) { 938 if ((boot_cpu_data.x86 == 0x10 && boot_cpu_data.x86_model < 10)
939 || boot_cpu_data.x86 == 0x11) {
939 powernow_table[i].frequency = 940 powernow_table[i].frequency =
940 freq_from_fid_did(lo & 0x3f, (lo >> 6) & 7); 941 freq_from_fid_did(lo & 0x3f, (lo >> 6) & 7);
941 } else 942 } else