diff options
author | Arnd Bergmann <arnd@arndb.de> | 2016-05-11 14:52:01 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2016-05-11 22:47:44 +0200 |
commit | cfe9492fdf04d1191e7ac3a43e6df5e20c3f4164 (patch) | |
tree | fd0a4dc8da51ce9f484d4ae198c62d71f868c048 | |
parent | bf7cdff19429a72c32257da70d5345ffca66d861 (diff) | |
download | linux-cfe9492fdf04d1191e7ac3a43e6df5e20c3f4164.tar.gz linux-cfe9492fdf04d1191e7ac3a43e6df5e20c3f4164.tar.bz2 linux-cfe9492fdf04d1191e7ac3a43e6df5e20c3f4164.zip |
cpufreq: schedutil: Make default depend on CONFIG_SMP
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)
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
-rw-r--r-- | drivers/cpufreq/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/cpufreq/Kconfig b/drivers/cpufreq/Kconfig index e9849b439414..b72c7d71c4ab 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 |