mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] cpufreq: schedutil: Make default depend on CONFIG_SMP
@ 2016-05-11 12:52 Arnd Bergmann
  2016-05-11 21:06 ` Rafael J. Wysocki
  0 siblings, 1 reply; 2+ messages in thread
From: Arnd Bergmann @ 2016-05-11 12:52 UTC (permalink / raw)
  To: Rafael J. Wysocki, Viresh Kumar; +Cc: Arnd Bergmann, linux-pm, linux-kernel

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(+)

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
-- 
2.7.0

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] cpufreq: schedutil: Make default depend on CONFIG_SMP
  2016-05-11 12:52 [PATCH] cpufreq: schedutil: Make default depend on CONFIG_SMP Arnd Bergmann
@ 2016-05-11 21:06 ` Rafael J. Wysocki
  0 siblings, 0 replies; 2+ messages in thread
From: Rafael J. Wysocki @ 2016-05-11 21:06 UTC (permalink / raw)
  To: Arnd Bergmann
  Cc: Rafael J. Wysocki, Viresh Kumar, linux-pm, Linux Kernel Mailing List

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!

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-05-11 21:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-11 12:52 [PATCH] cpufreq: schedutil: Make default depend on CONFIG_SMP Arnd Bergmann
2016-05-11 21:06 ` Rafael J. Wysocki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®