Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 23780
b: refs/heads/master
c: 8ad5496
h: refs/heads/master
v: v3
  • Loading branch information
Dave Jones committed Feb 28, 2006
1 parent 571ce25 commit b251adf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2c906ae67b5b2fc3585230b16406400a363b42e4
refs/heads/master: 8ad5496d2359a19127ad9f2eda69485025c9917f
4 changes: 1 addition & 3 deletions trunk/arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c
Original file line number Diff line number Diff line change
Expand Up @@ -479,15 +479,13 @@ static int centrino_cpu_init(struct cpufreq_policy *policy)
unsigned l, h;
int ret;
int i;
struct cpuinfo_x86 *c = &cpu_data[policy->cpu];

/* Only Intel makes Enhanced Speedstep-capable CPUs */
if (cpu->x86_vendor != X86_VENDOR_INTEL || !cpu_has(cpu, X86_FEATURE_EST))
return -ENODEV;

if (cpu_has(c, X86_FEATURE_CONSTANT_TSC)) {
if (cpu_has(cpu, X86_FEATURE_CONSTANT_TSC))
centrino_driver.flags |= CPUFREQ_CONST_LOOPS;
}

if (centrino_cpu_init_acpi(policy)) {
if (policy->cpu != 0)
Expand Down

0 comments on commit b251adf

Please sign in to comment.