diff options
-rw-r--r-- | arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c b/arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c index 327a55d4d1c6..95e15b7fce17 100644 --- a/arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c +++ b/arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c | |||
@@ -498,13 +498,6 @@ static int centrino_cpu_init(struct cpufreq_policy *policy) | |||
498 | if (cpu->x86_vendor != X86_VENDOR_INTEL || !cpu_has(cpu, X86_FEATURE_EST)) | 498 | if (cpu->x86_vendor != X86_VENDOR_INTEL || !cpu_has(cpu, X86_FEATURE_EST)) |
499 | return -ENODEV; | 499 | return -ENODEV; |
500 | 500 | ||
501 | for (i = 0; i < N_IDS; i++) | ||
502 | if (centrino_verify_cpu_id(cpu, &cpu_ids[i])) | ||
503 | break; | ||
504 | |||
505 | if (i != N_IDS) | ||
506 | centrino_cpu[policy->cpu] = &cpu_ids[i]; | ||
507 | |||
508 | if (is_const_loops_cpu(policy->cpu)) { | 501 | if (is_const_loops_cpu(policy->cpu)) { |
509 | centrino_driver.flags |= CPUFREQ_CONST_LOOPS; | 502 | centrino_driver.flags |= CPUFREQ_CONST_LOOPS; |
510 | } | 503 | } |
@@ -513,6 +506,13 @@ static int centrino_cpu_init(struct cpufreq_policy *policy) | |||
513 | if (policy->cpu != 0) | 506 | if (policy->cpu != 0) |
514 | return -ENODEV; | 507 | return -ENODEV; |
515 | 508 | ||
509 | for (i = 0; i < N_IDS; i++) | ||
510 | if (centrino_verify_cpu_id(cpu, &cpu_ids[i])) | ||
511 | break; | ||
512 | |||
513 | if (i != N_IDS) | ||
514 | centrino_cpu[policy->cpu] = &cpu_ids[i]; | ||
515 | |||
516 | if (!centrino_cpu[policy->cpu]) { | 516 | if (!centrino_cpu[policy->cpu]) { |
517 | dprintk(KERN_INFO PFX "found unsupported CPU with " | 517 | dprintk(KERN_INFO PFX "found unsupported CPU with " |
518 | "Enhanced SpeedStep: send /proc/cpuinfo to " | 518 | "Enhanced SpeedStep: send /proc/cpuinfo to " |