* [PATCH] Longhaul - Typo fix
@ 2006-07-13 17:26 Rafał Bilski
2006-07-13 17:45 ` Dave Jones
0 siblings, 1 reply; 2+ messages in thread
From: Rafał Bilski @ 2006-07-13 17:26 UTC (permalink / raw)
To: Dave Jones; +Cc: cpufreq
Please add this too.
This is changing "always true" test to something usefull.
Signed-off-by: Rafa³ Bilski <rafalbilski@interia.pl>
---
diff -uprN -X linux-2.6.17-git20-vanilla/Documentation/dontdiff linux-2.6.17-git20-vanilla/arch/i386/kernel/cpu/cpufreq/longhaul.c linux-2.6.17-git20/arch/i386/kernel/cpu/cpufreq/longhaul.c
--- linux-2.6.17-git20-vanilla/arch/i386/kernel/cpu/cpufreq/longhaul.c 2006-07-13 07:39:41.000000000 +0200
+++ linux-2.6.17-git20/arch/i386/kernel/cpu/cpufreq/longhaul.c 2006-07-13 07:38:35.000000000 +0200
@@ -550,7 +550,7 @@ static int __init longhaul_cpu_init(stru
if (pr == NULL) goto err_acpi;
cx = &pr->power.states[ACPI_STATE_C3];
- if (cx == NULL || cx->latency > 1000) goto err_acpi;
+ if (cx->address == 0 || cx->latency > 1000) goto err_acpi;
/* Now check what we have on this motherboard */
switch (c->x86_model) {
--------------------------------------------------------------------
12 000 SMS-ow gratis! Promocja na http://link.interia.pl/f1971
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-07-13 17:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-13 17:26 [PATCH] Longhaul - Typo fix Rafał Bilski
2006-07-13 17:45 ` Dave Jones
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.