cpuidle: Fix ARCH_NEEDS_CPU_IDLE_COUPLED dependency warning
PATCH 1/1 cpuidle: Fix ARCH_NEEDS_CPU_IDLE_COUPLED dependency warning
Before the commit d6f346f2d2bf511c2c59176121a6e42ce60173a0, the ARCH_NEEDS_CPU_IDLE_COUPLED option was not depending on the CPU_IDLE but now it has been moved under the CPU_IDLE menuconfig option.
That raises the following warnings:
warning: (ARCH_OMAP4 && ARCH_TEGRA_2x_SOC) selects ARCH_NEEDS_CPU_IDLE_COUPLED which has unmet direct dependencies (CPU_IDLE)
warning: (ARCH_OMAP4 && ARCH_TEGRA_2x_SOC) selects ARCH_NEEDS_CPU_IDLE_COUPLED which has unmet direct dependencies (CPU_IDLE)
The tegra2 and omap4 Kconfig files select this option but without checking CPU_IDLE is set.
Fix that by moving the option out of the CPU_IDLE option.
--- drivers/cpuidle/Kconfig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/cpuidle/Kconfig +3 -3
@@ -29,9 +29,6 @@ config CPU_IDLE_GOV_MENU bool "Menu governor (for tickless system)" default y -config ARCH_NEEDS_CPU_IDLE_COUPLED - def_bool n - config CPU_IDLE_CALXEDA bool "CPU Idle Driver for Calxeda processors" depends on ARCH_HIGHBANK
@@ -45,3 +42,6 @@ config CPU_IDLE_ZYNQ Select this to enable cpuidle on Xilinx Zynq processors. endif + +config ARCH_NEEDS_CPU_IDLE_COUPLED + def_bool n
Signature · 1 line
1.7.9.5
PATCH 1/1 cpuidle: Fix ARCH_NEEDS_CPU_IDLE_COUPLED dependency warning
Quoted 11 lines · Daniel Lezcano
Before the commit
d6f346f2d2bf511c2c59176121a6e42ce60173a0, theARCH_NEEDS_CPU_IDLE_COUPLEDoption was not depending on theCPU_IDLEbut now it has been moved under theCPU_IDLEmenuconfig option.That raises the following warnings:
warning: (
ARCH_OMAP4&&ARCH_TEGRA_2x_SOC) selectsARCH_NEEDS_CPU_IDLE_COUPLEDwhich has unmet direct dependencies (CPU_IDLE)
warning: (ARCH_OMAP4&&ARCH_TEGRA_2x_SOC) selectsARCH_NEEDS_CPU_IDLE_COUPLEDwhich has unmet direct dependencies (CPU_IDLE)
Quoted 6 lines
The tegra2 and omap4
Kconfigfiles select this option but without checkingCPU_IDLEis set.Fix that by moving the option out of the
CPU_IDLEoption.Signed-off-by Daniel Lezcano <[email protected]>
Queued up for 3.11.
Thanks,
Rafael
Quoted 26 lines
--- drivers/cpuidle/Kconfig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)drivers/cpuidle/Kconfig +3
-3@@ -29,9 +29,6 @@ config CPU_IDLE_GOV_MENU bool "Menu governor (for tickless system)" default y -config ARCH_NEEDS_CPU_IDLE_COUPLED - def_bool n - config CPU_IDLE_CALXEDA bool "CPU Idle Driver for Calxeda processors" depends on ARCH_HIGHBANK@@ -45,3 +42,6 @@ config CPU_IDLE_ZYNQ Select this to enable cpuidle on Xilinx Zynq processors. endif + +config ARCH_NEEDS_CPU_IDLE_COUPLED + def_bool n
Signature · 2 lines
I speak only for myself. Rafael J. Wysocki, Intel Open Source Technology Center.