Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=b6f45a4b071d77777d70e097d429273aeedff717
Commit:     b6f45a4b071d77777d70e097d429273aeedff717
Parent:     bd0561c9d8dcbf21cd9aa46c416bbf6a3a12e4b1
Author:     Rafa� Bilski <[EMAIL PROTECTED]>
AuthorDate: Mon Feb 12 22:19:12 2007 +0100
Committer:  Dave Jones <[EMAIL PROTECTED]>
CommitDate: Tue Feb 13 22:58:26 2007 -0500

    [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 <[EMAIL PROTECTED]>
    Signed-off-by: Dave Jones <[EMAIL PROTECTED]>
---
 arch/i386/kernel/cpu/cpufreq/e_powersaver.c |    2 +-
 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 3243725..f43d98e 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;
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to