Patchwork [1/2] intel_idle: disable module support

login
register
mail settings
Submitter Leann Ogasawara
Date Aug. 23, 2010, 10:36 p.m.
Message ID <ae788f4e3ac92dee8edd388fc3792354f83e198c.1282602312.git.leann.ogasawara@canonical.com>
Download mbox | patch
Permalink /patch/62521/
State Accepted
Delegated to: Leann Ogasawara
Headers show

Comments

Leann Ogasawara - Aug. 23, 2010, 10:36 p.m.
BugLink: https://bugs.launchpad.net/bugs/615265

Right now the module capability is cauing more trouble
than it is worth.  At least one distro built intel_idle as a module
where it lost the init race with ACPI, making it useless.

Make intel_idle bool so that if you select it, you will use it.

We can restore module capability after cpuidle is enhanced
to handle run-time changing of idle drivers.

Signed-off-by: Len Brown <len.brown@intel.com>
(cherry picked from commit 6ce9cd8669fa1195fdc21643370e34523c7ac988)

Signed-off-by: Leann Ogasawara <leann.ogasawara@canonical.com>
---
 drivers/idle/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch

diff --git a/drivers/idle/Kconfig b/drivers/idle/Kconfig
index fb5c518..82e4e86 100644
--- a/drivers/idle/Kconfig
+++ b/drivers/idle/Kconfig
@@ -1,5 +1,5 @@ 
 config INTEL_IDLE
-	tristate "Cpuidle Driver for Intel Processors"
+	bool "Cpuidle Driver for Intel Processors"
 	depends on CPU_IDLE
 	depends on X86
 	depends on CPU_SUP_INTEL