summaryrefslogtreecommitdiffstats
path: root/arch/i386
diff options
context:
space:
mode:
authorRafał Bilski <rafalbilski@interia.pl>2007-02-12 22:19:12 +0100
committerDave Jones <davej@redhat.com>2007-02-14 04:58:26 +0100
commitb6f45a4b071d77777d70e097d429273aeedff717 (patch)
tree2c37f1c92cf7f0e976c8e29ac99f4f7e9df43564 /arch/i386
parent[CPUFREQ] Fix up merge conflicts with recent ACPI changes. (diff)
downloadlinux-b6f45a4b071d77777d70e097d429273aeedff717.tar.xz
linux-b6f45a4b071d77777d70e097d429273aeedff717.zip
[CPUFREQ] EPS - Correct 2nd brand test
Solution for small, but nasty bug: access beyond end of f_table for C7 brand. Signed-off-by: Rafal Bilski <rafalbilski@interia.pl> Signed-off-by: Dave Jones <davej@redhat.com>
Diffstat (limited to 'arch/i386')
-rw-r--r--arch/i386/kernel/cpu/cpufreq/e_powersaver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/i386/kernel/cpu/cpufreq/e_powersaver.c b/arch/i386/kernel/cpu/cpufreq/e_powersaver.c
index 3243725f80ca..f43d98e11cc7 100644
--- a/arch/i386/kernel/cpu/cpufreq/e_powersaver.c
+++ b/arch/i386/kernel/cpu/cpufreq/e_powersaver.c
@@ -234,7 +234,7 @@ static int eps_cpu_init(struct cpufreq_policy *policy)
/* Fill frequency and MSR value table */
f_table = &centaur->freq_table[0];
- if (brand == EPS_BRAND_EDEN) {
+ if (brand != EPS_BRAND_C7M) {
f_table[0].frequency = fsb * min_multiplier;
f_table[0].index = (min_multiplier << 8) | min_voltage;
f_table[1].frequency = fsb * max_multiplier;