* [PATCH 4/6] CPUIDLE: max_cstate fix
@ 2007-08-21 22:25 Adam Belay
0 siblings, 0 replies; only message in thread
From: Adam Belay @ 2007-08-21 22:25 UTC (permalink / raw)
To: Brown, Len; +Cc: linux acpi, linux-pm, Venki Pallipadi, Shaohua Li
Currently max_cstate is limited to 0, resulting in no idle processor
power management on ACPI platforms. This patch restores the value to
the array size.
Please Apply,
Adam
Change Summary:
processor_idle.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff -urN a/drivers/acpi/processor_idle.c b/drivers/acpi/processor_idle.c
--- a/drivers/acpi/processor_idle.c 2007-08-14 15:53:48.000000000 -0400
+++ b/drivers/acpi/processor_idle.c 2007-08-14 16:00:48.000000000 -0400
@@ -67,7 +67,7 @@
#define C2_OVERHEAD 1 /* 1us */
#define C3_OVERHEAD 1 /* 1us */
-static unsigned int max_cstate __read_mostly;
+static unsigned int max_cstate __read_mostly = ACPI_PROCESSOR_MAX_POWER;
module_param(max_cstate, uint, 0000);
static unsigned int nocst __read_mostly;
module_param(nocst, uint, 0000);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-08-21 22:32 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-21 22:25 [PATCH 4/6] CPUIDLE: max_cstate fix Adam Belay
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox