diff options
author | Hiroshi Miura <miura@da-cha.org> | 2006-10-17 23:59:33 -0400 |
---|---|---|
committer | Dave Jones <davej@redhat.com> | 2006-10-18 00:12:07 -0400 |
commit | 8c6193684928407ea097f370778e3df7e971d957 (patch) | |
tree | d4021fc8afa99a7325f5c8b4f86b03795fe6c10e | |
parent | 3e74341c7b356ce142ace4e9b5ff08448c9f320e (diff) |
[CPUFREQ] Fix speedstep-smi CPU detection to not run on Pentium 4.
If someone inserts speedstep-smi on a mobile P4, it prevents other cpufreq
modules from loading until it is unloaded.
Signed-off-by: Hiroshi Miura <miura@da-cha.org>
Signed-off-by: Dave Jones <davej@redhat.com>
-rw-r--r-- | arch/i386/kernel/cpu/cpufreq/speedstep-smi.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/i386/kernel/cpu/cpufreq/speedstep-smi.c b/arch/i386/kernel/cpu/cpufreq/speedstep-smi.c index c28333d53646..ff0d89806114 100644 --- a/arch/i386/kernel/cpu/cpufreq/speedstep-smi.c +++ b/arch/i386/kernel/cpu/cpufreq/speedstep-smi.c | |||
@@ -360,9 +360,6 @@ static int __init speedstep_init(void) | |||
360 | case SPEEDSTEP_PROCESSOR_PIII_C: | 360 | case SPEEDSTEP_PROCESSOR_PIII_C: |
361 | case SPEEDSTEP_PROCESSOR_PIII_C_EARLY: | 361 | case SPEEDSTEP_PROCESSOR_PIII_C_EARLY: |
362 | break; | 362 | break; |
363 | case SPEEDSTEP_PROCESSOR_P4M: | ||
364 | printk(KERN_INFO "speedstep-smi: you're trying to use this cpufreq driver on a Pentium 4-based CPU. Most likely it will not work.\n"); | ||
365 | break; | ||
366 | default: | 363 | default: |
367 | speedstep_processor = 0; | 364 | speedstep_processor = 0; |
368 | } | 365 | } |