Message ID | 1462971135-613196-1-git-send-email-arnd@arndb.de (mailing list archive) |
---|---|
State | Accepted, archived |
Delegated to: | Rafael Wysocki |
Headers | show |
On Wed, May 11, 2016 at 2:52 PM, Arnd Bergmann <arnd@arndb.de> wrote: > 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) Doh. > 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") Thanks, applied! -- 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 --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
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(+)