summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChen Zhou <chenzhou10@huawei.com>2020-01-10 08:23:20 +0100
committerTejun Heo <tj@kernel.org>2020-01-15 16:58:13 +0100
commit75ea91cd3eab8214eb8cd7f61ac23f41884d29ec (patch)
tree4eca30201ac6cc91eec6760f089c4189466dc4ec
parentmm: hugetlb controller for cgroups v2 (diff)
downloadlinux-75ea91cd3eab8214eb8cd7f61ac23f41884d29ec.tar.xz
linux-75ea91cd3eab8214eb8cd7f61ac23f41884d29ec.zip
cgroup: fix function name in comment
Function name cgroup_rstat_cpu_pop_upated() in comment should be cgroup_rstat_cpu_pop_updated(). Signed-off-by: Chen Zhou <chenzhou10@huawei.com> Signed-off-by: Tejun Heo <tj@kernel.org>
-rw-r--r--kernel/cgroup/rstat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/cgroup/rstat.c b/kernel/cgroup/rstat.c
index b48b22d4deb6..6f87352f8219 100644
--- a/kernel/cgroup/rstat.c
+++ b/kernel/cgroup/rstat.c
@@ -33,7 +33,7 @@ void cgroup_rstat_updated(struct cgroup *cgrp, int cpu)
return;
/*
- * Paired with the one in cgroup_rstat_cpu_pop_upated(). Either we
+ * Paired with the one in cgroup_rstat_cpu_pop_updated(). Either we
* see NULL updated_next or they see our updated stat.
*/
smp_mb();