summaryrefslogtreecommitdiffstats
path: root/drivers/acpi
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2008-01-11 18:28:38 +0100
committerLen Brown <len.brown@intel.com>2008-01-11 18:28:38 +0100
commit8df042e85c4462f97be286ef0fd82a627f27e9c8 (patch)
treedb40c797112b10895c4e6a5a3aea5172e15f05f2 /drivers/acpi
parentPull bugzilla-9627 into release branch (diff)
parentACPI: Reintroduce run time configurable max_cstate for !CPU_IDLE case (diff)
downloadlinux-8df042e85c4462f97be286ef0fd82a627f27e9c8.tar.xz
linux-8df042e85c4462f97be286ef0fd82a627f27e9c8.zip
Pull bugzilla-9683 into release branch
Diffstat (limited to 'drivers/acpi')
-rw-r--r--drivers/acpi/processor_idle.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/acpi/processor_idle.c b/drivers/acpi/processor_idle.c
index 2fe34cc73c13..2235f4e02d26 100644
--- a/drivers/acpi/processor_idle.c
+++ b/drivers/acpi/processor_idle.c
@@ -76,7 +76,11 @@ static void (*pm_idle_save) (void) __read_mostly;
#define PM_TIMER_TICKS_TO_US(p) (((p) * 1000)/(PM_TIMER_FREQUENCY/1000))
static unsigned int max_cstate __read_mostly = ACPI_PROCESSOR_MAX_POWER;
+#ifdef CONFIG_CPU_IDLE
module_param(max_cstate, uint, 0000);
+#else
+module_param(max_cstate, uint, 0644);
+#endif
static unsigned int nocst __read_mostly;
module_param(nocst, uint, 0000);