Skip to contentSkip to conversation

ACPI: Re-enable C2/C3 CPU states for systems without CST

PATCH New [email protected] 1 participant 1 message Jul 14, 2005 ACPI

lore
Share & tools
lore
#0 lore raw

PATCH 5/7 ACPI: Re-enable C2/C3 CPU states for systems without CST

From: Jindrich Makovicka <makovick-/k6j/[email protected]>

Re-enable C2/C3 states for systems without CST. Fixes a regression after the patch for C2/C3 support for multiprocessors
(http://bugme.osdl.org/show_bug.cgi?id=4401), which accidentally removed the acpi_processor_power_verify() call.

---

 drivers/acpi/processor_idle.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)
drivers/acpi/processor_idle.c renamed from drivers/acpi/processor_idle.c~acpi-re-enable-c2-c3-cpu-states-for-systems-without +1 -1
diff -puN drivers/acpi/processor_idle.c~acpi-re-enable-c2-c3-cpu-states-for-systems-without drivers/acpi/processor_idle.c
@@ -881,7 +881,7 @@ static int acpi_processor_get_power_info
 	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);
 	}
 

_

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click