summaryrefslogtreecommitdiffstats
path: root/kernel/cgroup/cgroup-internal.h
diff options
context:
space:
mode:
authorTejun Heo2018-04-26 23:29:05 +0200
committerTejun Heo2018-04-26 23:29:05 +0200
commita17556f8d9798e8feff9e34d746e489e78ee1dab (patch)
tree458150f17e299ac8180dae93faa42f9c9a44c8c5 /kernel/cgroup/cgroup-internal.h
parentcgroup: Distinguish base resource stat implementation from rstat (diff)
downloadkernel-qcow2-linux-a17556f8d9798e8feff9e34d746e489e78ee1dab.tar.gz
kernel-qcow2-linux-a17556f8d9798e8feff9e34d746e489e78ee1dab.tar.xz
kernel-qcow2-linux-a17556f8d9798e8feff9e34d746e489e78ee1dab.zip
cgroup: Reorganize kernel/cgroup/rstat.c
Currently, rstat.c has rstat and base stat implementations intermixed. Collect base stat implementation at the end of the file. Also, reorder the prototypes. This patch doesn't make any functional changes. Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'kernel/cgroup/cgroup-internal.h')
-rw-r--r--kernel/cgroup/cgroup-internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/cgroup/cgroup-internal.h b/kernel/cgroup/cgroup-internal.h
index aab4d0a09670..2bf6fb417588 100644
--- a/kernel/cgroup/cgroup-internal.h
+++ b/kernel/cgroup/cgroup-internal.h
@@ -206,8 +206,8 @@ int cgroup_task_count(const struct cgroup *cgrp);
void cgroup_rstat_flush(struct cgroup *cgrp);
int cgroup_rstat_init(struct cgroup *cgrp);
void cgroup_rstat_exit(struct cgroup *cgrp);
-void cgroup_base_stat_cputime_show(struct seq_file *seq);
void cgroup_rstat_boot(void);
+void cgroup_base_stat_cputime_show(struct seq_file *seq);
/*
* namespace.c