diff mbox

cpufreq: schedutil: Make default depend on CONFIG_SMP

Message ID 1462971135-613196-1-git-send-email-arnd@arndb.de
State Accepted
Commit cfe9492fdf04d1191e7ac3a43e6df5e20c3f4164
Headers show

Commit Message

Arnd Bergmann May 11, 2016, 12:52 p.m. UTC
CPU_FREQ_GOV_SCHEDUTIL gained a dependency on SMP, so now we
get a warning if it gets selected by CPU_FREQ_DEFAULT_GOV_SCHEDUTIL
without SMP:

warning: (CPU_FREQ_DEFAULT_GOV_SCHEDUTIL) selects CPU_FREQ_GOV_SCHEDUTIL which has unmet direct dependencies (CPU_FREQ && SMP)

This adds another dependency to avoid the problem.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>

Fixes: bf7cdff19429 ("cpufreq: schedutil: Make it depend on CONFIG_SMP")
---
 drivers/cpufreq/Kconfig | 1 +
 1 file changed, 1 insertion(+)

-- 
2.7.0

--
To unsubscribe from this list: send the line "unsubscribe linux-pm" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/drivers/cpufreq/Kconfig b/drivers/cpufreq/Kconfig
index 0bfc3427fc86..b7445b6ae5a4 100644
--- a/drivers/cpufreq/Kconfig
+++ b/drivers/cpufreq/Kconfig
@@ -110,6 +110,7 @@  config CPU_FREQ_DEFAULT_GOV_CONSERVATIVE
 
 config CPU_FREQ_DEFAULT_GOV_SCHEDUTIL
 	bool "schedutil"
+	depends on SMP
 	select CPU_FREQ_GOV_SCHEDUTIL
 	select CPU_FREQ_GOV_PERFORMANCE
 	help