public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH]acpi cpuidle: Fix kernel oops when tickless is not enabled
@ 2009-12-16 14:17 Youquan,Song
  2009-12-16  9:32 ` Len Brown
  0 siblings, 1 reply; 3+ messages in thread
From: Youquan,Song @ 2009-12-16 14:17 UTC (permalink / raw)
  To: lenb
  Cc: venkatesh.pallipadi, kent.liu, chaohong.guo, jane.lv,
	youquan.song, linux-acpi

Current kernel, if tickless is disabled,cpuidle governor ladder is built in,
 the kernel will boot oops on Boxboro-EX. 

After check in driver/cpuidle/Kconfig, menu governor built in kernel depends 
on tickless,but ladder governor has no such dependency.

This patch add depnencey for ladder governor, so when tickless is disabled,
 ladder governor will not be built in.

This is workround patch and the complete fix need be done at tickless. 

Signed-off-by: Youquan, Song <youquan.song@intel.com>
---

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

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-12-17  3:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-16 14:17 [PATCH]acpi cpuidle: Fix kernel oops when tickless is not enabled Youquan,Song
2009-12-16  9:32 ` Len Brown
2009-12-17 11:27   ` Youquan,Song

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox