Skip to contentSkip to conversation

cpufreq: schedutil: Make it depend on CONFIG_SMP

PATCH New Rafael J. Wysocki 1 participant 1 message May 6, 2016 CPU frequency scaling framework

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cpufreq: schedutil: Make it depend on CONFIG_SMP

From: Rafael J. Wysocki <[email protected]>
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)

---

linux-next material.

Please let me know if there are any objections.

---
 drivers/cpufreq/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/cpufreq/Kconfig +1 -1
Index: 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