diff mbox

acpi cpuidle: Fix kernel oops when tickless is not enabled

Message ID 20091216141721.GA27614@youquan-linux.bj.intel.com (mailing list archive)
State RFC, archived
Headers show

Commit Message

Youquan Song Dec. 16, 2009, 2:17 p.m. UTC
None
diff mbox

Patch

diff --git a/drivers/cpuidle/Kconfig b/drivers/cpuidle/Kconfig
index 7dbc4a8..78d6d74 100644
--- a/drivers/cpuidle/Kconfig
+++ b/drivers/cpuidle/Kconfig
@@ -11,7 +11,7 @@  config CPU_IDLE
 
 config CPU_IDLE_GOV_LADDER
 	bool
-	depends on CPU_IDLE
+	depends on CPU_IDLE && NO_HZ
 	default y
 
 config CPU_IDLE_GOV_MENU