diff options
author | 2020-11-10 18:25:57 +0100 | |
---|---|---|
committer | 2020-11-10 18:31:17 +0100 | |
commit | 9a2a9ebc0a758d887ee06e067e9f7f0b36ff7574 (patch) | |
tree | a0da576cf684de92587993f5e62cd5e3eacf8515 /kernel/sched | |
parent | Linux 5.10-rc3 (diff) | |
download | linux-9a2a9ebc0a758d887ee06e067e9f7f0b36ff7574.tar.gz linux-9a2a9ebc0a758d887ee06e067e9f7f0b36ff7574.tar.bz2 linux-9a2a9ebc0a758d887ee06e067e9f7f0b36ff7574.zip |
cpufreq: Introduce governor flags
A new cpufreq governor flag will be added subsequently, so replace
the bool dynamic_switching fleid in struct cpufreq_governor with a
flags field and introduce CPUFREQ_GOV_DYNAMIC_SWITCHING to set for
the "dynamic switching" governors instead of it.
No intentional functional impact.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'kernel/sched')
-rw-r--r-- | kernel/sched/cpufreq_schedutil.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched/cpufreq_schedutil.c b/kernel/sched/cpufreq_schedutil.c index d73bccde2720..97d318b0cd0c 100644 --- a/kernel/sched/cpufreq_schedutil.c +++ b/kernel/sched/cpufreq_schedutil.c @@ -881,7 +881,7 @@ static void sugov_limits(struct cpufreq_policy *policy) struct cpufreq_governor schedutil_gov = { .name = "schedutil", .owner = THIS_MODULE, - .dynamic_switching = true, + .flags = CPUFREQ_GOV_DYNAMIC_SWITCHING, .init = sugov_init, .exit = sugov_exit, .start = sugov_start, |