summaryrefslogtreecommitdiff
path: root/kernel/sched/cpufreq_schedutil.c
diff options
context:
space:
mode:
authorYue Hu <huyue2@yulong.com>2021-02-18 12:37:53 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2021-02-19 18:14:16 +0300
commite209cb51bfcceda7519b8ba1094c8ba41a658ce8 (patch)
tree1223769b1b99bf3f464b1799e60f71d0396fb4ee /kernel/sched/cpufreq_schedutil.c
parent71f1309f4f5b70aa3f1342a52b1460aa454c39ff (diff)
downloadlinux-e209cb51bfcceda7519b8ba1094c8ba41a658ce8.tar.xz
cpufreq: schedutil: Remove update_lock comment from struct sugov_policy definition
Currently, update_lock is also used in sugov_update_single_freq(). The comment is not helpful anymore. Signed-off-by: Yue Hu <huyue2@yulong.com> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> [ rjw: Subject edits ] Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'kernel/sched/cpufreq_schedutil.c')
-rw-r--r--kernel/sched/cpufreq_schedutil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched/cpufreq_schedutil.c b/kernel/sched/cpufreq_schedutil.c
index 68fd485504a6..fe7df039ce9e 100644
--- a/kernel/sched/cpufreq_schedutil.c
+++ b/kernel/sched/cpufreq_schedutil.c
@@ -26,7 +26,7 @@ struct sugov_policy {
struct sugov_tunables *tunables;
struct list_head tunables_hook;
- raw_spinlock_t update_lock; /* For shared policies */
+ raw_spinlock_t update_lock;
u64 last_freq_update_time;
s64 freq_update_delay_ns;
unsigned int next_freq;