cpufreq: schedutil: Make it depend on CONFIG_SMP
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 6 May 2016 13:00:38 +0000 (15:00 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 6 May 2016 20:33:33 +0000 (22:33 +0200)
Make the schedutil cpufreq governor depend on CONFIG_SMP, because
the scheduler-provided utilization numbers used by it are only
available with 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>
drivers/cpufreq/Kconfig

index 5d74826d75be80d9370e909851b9434c82664b30..e9849b4394142ad899306fd8062fee142115689e 100644 (file)
@@ -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