Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=9addf3b6388459f315adc728d27d34603a00d427 Commit: 9addf3b6388459f315adc728d27d34603a00d427 Parent: f0ec313a89a7377f440c815f82b0370bd67f62c6 Author: Rafa� Bilski <[EMAIL PROTECTED]> AuthorDate: Wed Feb 7 22:53:29 2007 +0100 Committer: Dave Jones <[EMAIL PROTECTED]> CommitDate: Sat Feb 10 20:01:48 2007 -0500
[CPUFREQ] Longhaul - Simplier minmult Simple cleanup in code which is setting minmult. Signed-off-by: Rafal Bilski <[EMAIL PROTECTED]> Signed-off-by: Dave Jones <[EMAIL PROTECTED]> --- arch/i386/kernel/cpu/cpufreq/longhaul.c | 23 ++++++++--------------- 1 files changed, 8 insertions(+), 15 deletions(-) diff --git a/arch/i386/kernel/cpu/cpufreq/longhaul.c b/arch/i386/kernel/cpu/cpufreq/longhaul.c index 98fbe28..8f65ebe 100644 --- a/arch/i386/kernel/cpu/cpufreq/longhaul.c +++ b/arch/i386/kernel/cpu/cpufreq/longhaul.c @@ -358,22 +358,15 @@ static int __init longhaul_get_ranges(void) * C3 is booting at max anyway. */ maxmult = mult; /* Get min multiplier */ - switch (longhaul_version) { - case TYPE_LONGHAUL_V1: - case TYPE_LONGHAUL_V2: - minmult = 30; + switch (cpu_model) { + case CPU_NEHEMIAH: + minmult = 50; break; - - case TYPE_POWERSAVER: - /* Ezra-T */ - if (cpu_model == CPU_EZRA_T) - minmult = 30; - /* Nehemiah */ - else if (cpu_model == CPU_NEHEMIAH) - minmult = 50; - /* Nehemiah C */ - else if (cpu_model == CPU_NEHEMIAH_C) - minmult = 40; + case CPU_NEHEMIAH_C: + minmult = 40; + break; + default: + minmult = 30; break; } - 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