aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-04-29 03:59:54 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2008-04-29 11:06:07 -0400
commit3df91fe30a1547af7e794c6e8cca76f4932c6ad7 (patch)
treef8d459ba2a16aaf946f66d767c4066eaa937592e
parent3ef0e1f8cad0a851b3dbf91802b14af7dd780352 (diff)
make cgroup_enable_task_cg_lists() static
Make the needlessly global cgroup_enable_task_cg_lists() static. Signed-off-by: Adrian Bunk <bunk@kernel.org> Acked-by: David Rientjes <rientjes@google.com> Cc: Paul Menage <menage@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--kernel/cgroup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/cgroup.c b/kernel/cgroup.c
index 6d8de051382b..e7da66efc9fc 100644
--- a/kernel/cgroup.c
+++ b/kernel/cgroup.c
@@ -1715,7 +1715,7 @@ static void cgroup_advance_iter(struct cgroup *cgrp,
1715 * The tasklist_lock is not held here, as do_each_thread() and 1715 * The tasklist_lock is not held here, as do_each_thread() and
1716 * while_each_thread() are protected by RCU. 1716 * while_each_thread() are protected by RCU.
1717 */ 1717 */
1718void cgroup_enable_task_cg_lists(void) 1718static void cgroup_enable_task_cg_lists(void)
1719{ 1719{
1720 struct task_struct *p, *g; 1720 struct task_struct *p, *g;
1721 write_lock(&css_set_lock); 1721 write_lock(&css_set_lock);