Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1395843 > unrolled thread

[PATCH] cpufreq: schedutil: Make it depend on CONFIG_SMP

Started by"Rafael J. Wysocki" <rjw@rjwysocki.net>
First post2016-05-06 15:00 +0200
Last post2016-05-06 15:00 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH] cpufreq: schedutil: Make it depend on CONFIG_SMP "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2016-05-06 15:00 +0200

#1395843 — [PATCH] cpufreq: schedutil: Make it depend on CONFIG_SMP

From"Rafael J. Wysocki" <rjw@rjwysocki.net>
Date2016-05-06 15:00 +0200
Subject[PATCH] cpufreq: schedutil: Make it depend on CONFIG_SMP
Message-ID<rvNwm-5l2-3@gated-at.bofh.it>
From: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Subject: [PATCH] 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 for CONFIG_SMP set.

Fixes: 9bdcb44e391d (cpufreq: schedutil: New governor based on scheduler utilization data)
Reported-by: Steve Muckle <steve.muckle@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
---

linux-next material.

Please let me know if there are any objections.

---
 drivers/cpufreq/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: linux-pm/drivers/cpufreq/Kconfig
===================================================================
--- linux-pm.orig/drivers/cpufreq/Kconfig
+++ linux-pm/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

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web