From: Venki Pallipadi Date: Mon, 7 Jan 2008 22:50:10 +0000 (-0500) Subject: ACPI: Reintroduce run time configurable max_cstate for !CPU_IDLE case X-Git-Tag: v2.6.24-rc8~36^2~1^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5b3f0e6c1c9638b11a1063bf93c60a0766550b02;p=pandora-kernel.git ACPI: Reintroduce run time configurable max_cstate for !CPU_IDLE case This was writeable in 2.6.23 but the cpuidle merge made it read-only. But some people's scripts (ie: Mark's) were writing to it. As an unhappy compromise, make max_cstate writeable again if the kernel was configured without CONFIG_CPU_IDLE. http://bugzilla.kernel.org/show_bug.cgi?id=9683 Signed-off-by: Venkatesh Pallipadi Cc: Mark Lord Cc: Arjan van de Ven Cc: Ingo Molnar Cc: "Rafael J. Wysocki" Signed-off-by: Andrew Morton Signed-off-by: Len Brown --- Reading git-diff-tree failed