From: Adrian Bunk Make the needlessly global cgroup_enable_task_cg_lists() static. Signed-off-by: Adrian Bunk Acked-by: David Rientjes Cc: Paul Menage Signed-off-by: Andrew Morton --- kernel/cgroup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN kernel/cgroup.c~make-cgroup_enable_task_cg_lists-static kernel/cgroup.c --- a/kernel/cgroup.c~make-cgroup_enable_task_cg_lists-static +++ a/kernel/cgroup.c @@ -1704,7 +1704,7 @@ static void cgroup_advance_iter(struct c * The tasklist_lock is not held here, as do_each_thread() and * 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; write_lock(&css_set_lock); _