Commit:     1b11d4ca6d9d7ea3ace9d241e52cc5fe3cfe3d8f
Parent:     920dd0fbba1a7aa34c45b73699dcaf092850df51
Author:     RafaƂ Bilski <[EMAIL PROTECTED]>
AuthorDate: Thu May 17 22:36:42 2007 +0200
Committer:  Dave Jones <[EMAIL PROTECTED]>
CommitDate: Tue May 29 16:56:39 2007 -0400

    [CPUFREQ] Longhaul - Move old_ratio to correct place
    Move one line where it should be. After first transition
    Longhaul will skip frequency transition if destination
    frequency is already set.
    Signed-off-by: Rafal Bilski <[EMAIL PROTECTED]>
    Signed-off-by: Dave Jones <[EMAIL PROTECTED]>
 arch/i386/kernel/cpu/cpufreq/longhaul.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/i386/kernel/cpu/cpufreq/longhaul.c 
index d004e07..504c6c9 100644
--- a/arch/i386/kernel/cpu/cpufreq/longhaul.c
+++ b/arch/i386/kernel/cpu/cpufreq/longhaul.c
@@ -87,6 +87,7 @@ static int clock_ratio[32];
 static int eblcr_table[32];
 static int longhaul_version;
 static struct cpufreq_frequency_table *longhaul_table;
+static unsigned int old_ratio = -1;
 static char speedbuffer[8];
@@ -251,7 +252,6 @@ static void longhaul_setstate(unsigned int 
        int speed, mult;
        struct cpufreq_freqs freqs;
-       static unsigned int old_ratio=-1;
        unsigned long flags;
        unsigned int pic1_mask, pic2_mask;
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

Reply via email to