From: Rafael J. Wysocki Date: Fri, 6 May 2016 13:00:38 +0000 (+0200) Subject: cpufreq: schedutil: Make it depend on CONFIG_SMP X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=bf7cdff19429a72c32257da70d5345ffca66d861;p=openwrt%2Fstaging%2Fblogic.git cpufreq: schedutil: Make it depend on CONFIG_SMP Make the schedutil cpufreq governor depend on CONFIG_SMP, because the scheduler-provided utilization numbers used by it are only available with CONFIG_SMP set. Fixes: 9bdcb44e391d (cpufreq: schedutil: New governor based on scheduler utilization data) Reported-by: Steve Muckle Signed-off-by: Rafael J. Wysocki --- diff --git a/drivers/cpufreq/Kconfig b/drivers/cpufreq/Kconfig index 5d74826d75be..e9849b439414 100644 --- a/drivers/cpufreq/Kconfig +++ b/drivers/cpufreq/Kconfig @@ -200,7 +200,7 @@ config CPU_FREQ_GOV_CONSERVATIVE config CPU_FREQ_GOV_SCHEDUTIL tristate "'schedutil' cpufreq policy governor" - depends on CPU_FREQ + depends on CPU_FREQ && SMP select CPU_FREQ_GOV_ATTR_SET select IRQ_WORK help