aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorRafał Bilski <rafalbilski@interia.pl>2006-07-13 13:26:10 -0400
committerDave Jones <davej@redhat.com>2006-07-31 18:37:06 -0400
commit9fb31c3a1d9f42e10e541ee0e2be8d1f27115141 (patch)
tree075a4783f916c5754a8099f1049109133cae4fd0 /arch
parenteb23c751d837848c87fda6b1347d194f6b333681 (diff)
[CPUFREQ] Longhaul - Fix power state test to do something more useful
This is changing "always true" test to something usefull. Signed-off-by: Rafał Bilski <rafalbilski@interia.pl> Signed-off-by: Dave Jones <davej@redhat.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/i386/kernel/cpu/cpufreq/longhaul.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/i386/kernel/cpu/cpufreq/longhaul.c b/arch/i386/kernel/cpu/cpufreq/longhaul.c
index fdf8a6424f25..ccd1f2c39e18 100644
--- a/arch/i386/kernel/cpu/cpufreq/longhaul.c
+++ b/arch/i386/kernel/cpu/cpufreq/longhaul.c
@@ -550,7 +550,7 @@ static int __init longhaul_cpu_init(struct cpufreq_policy *policy)
550 if (pr == NULL) goto err_acpi; 550 if (pr == NULL) goto err_acpi;
551 551
552 cx = &pr->power.states[ACPI_STATE_C3]; 552 cx = &pr->power.states[ACPI_STATE_C3];
553 if (cx == NULL || cx->latency > 1000) goto err_acpi; 553 if (cx->address == 0 || cx->latency > 1000) goto err_acpi;
554 554
555 /* Now check what we have on this motherboard */ 555 /* Now check what we have on this motherboard */
556 switch (c->x86_model) { 556 switch (c->x86_model) {