Commit 3df91fe3 authored by Adrian Bunk's avatar Adrian Bunk Committed by Linus Torvalds

make cgroup_enable_task_cg_lists() static

Make the needlessly global cgroup_enable_task_cg_lists() static.
Signed-off-by: default avatarAdrian Bunk <bunk@kernel.org>
Acked-by: default avatarDavid Rientjes <rientjes@google.com>
Cc: Paul Menage <menage@google.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 3ef0e1f8
...@@ -1715,7 +1715,7 @@ static void cgroup_advance_iter(struct cgroup *cgrp, ...@@ -1715,7 +1715,7 @@ static void cgroup_advance_iter(struct cgroup *cgrp,
* The tasklist_lock is not held here, as do_each_thread() and * The tasklist_lock is not held here, as do_each_thread() and
* while_each_thread() are protected by RCU. * while_each_thread() are protected by RCU.
*/ */
void cgroup_enable_task_cg_lists(void) static void cgroup_enable_task_cg_lists(void)
{ {
struct task_struct *p, *g; struct task_struct *p, *g;
write_lock(&css_set_lock); write_lock(&css_set_lock);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment