Skip to contentSkip to conversation

ACPI: Only processor needs CPU_IDLE

PATCH In review Jean Delvare 2 participants 2 messages Oct 10, 2010 – Oct 11, 2010 ACPI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ACPI: Only processor needs CPU_IDLE

ACPI support itself doesn't need CPU_IDLE, only ACPI_PROCESSOR does, so only ACPI_PROCESSOR should select CPU_IDLE.

---
 drivers/acpi/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/acpi/Kconfig +1 -1
@@ -9,7 +9,6 @@ menuconfig ACPI
 	depends on PCI
 	depends on PM
 	select PNP
-	select CPU_IDLE
 	default y
 	help
 	  Advanced Configuration and Power Interface (ACPI) support for 
@@ -206,6 +205,7 @@ config ACPI_DOCK
 config ACPI_PROCESSOR
 	tristate "Processor"
 	select THERMAL
+	select CPU_IDLE
 	default y
 	help
 	  This driver installs ACPI as the idle handler for Linux and uses
Signature · 1 line
Jean Delvare
reviewer
#1 lore raw

applied (though I'm wondering if there is a use-case where we really notice the difference)

thanks,
Len Brown, Intel Open Source Technology Center