public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* Enable C2 for processors without CST
@ 2005-07-02 16:21 Jindrich Makovicka
  0 siblings, 0 replies; only message in thread
From: Jindrich Makovicka @ 2005-07-02 16:21 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

[-- Attachment #1: Type: text/plain, Size: 191 bytes --]

Hi,

this patch reenables power saving states for CPU when CST isn't
available. It is needed to make C2 work on my AMD XP-M 2600+ with
2.6.13-rc1-mm1 kernel.

Regards,
-- 
Jindrich Makovicka

[-- Attachment #2: processor_idle.c.diff --]
[-- Type: text/plain, Size: 436 bytes --]

--- processor_idle.c.orig	2005-07-02 18:11:33.186334953 +0200
+++ processor_idle.c	2005-07-02 18:13:33.735687489 +0200
@@ -881,7 +881,7 @@
 	result = acpi_processor_get_power_info_cst(pr);
 	if ((result) || (acpi_processor_power_verify(pr) < 2)) {
 		result = acpi_processor_get_power_info_fadt(pr);
-		if (result)
+		if ((result) || acpi_processor_power_verify(pr) < 2)
 			result = acpi_processor_get_power_info_default_c1(pr);
 	}
 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-07-02 16:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-02 16:21 Enable C2 for processors without CST Jindrich Makovicka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox