sched: Mark autogroup_init() __init
authorYong Zhang <yong.zhang0@gmail.com>
Fri, 7 Jan 2011 04:43:45 +0000 (12:43 +0800)
committerIngo Molnar <mingo@elte.hu>
Fri, 7 Jan 2011 14:54:36 +0000 (15:54 +0100)
autogroup_init() is only called at boot time.

Signed-off-by: Yong Zhang <yong.zhang0@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <1294375425-31065-1-git-send-email-yong.zhang0@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched_autogroup.c

index e011e53433a6080f9b27f5093209d3da51a2aad8..32a723b8f84cac397c51579a1f3099d35d1a25f0 100644 (file)
@@ -9,7 +9,7 @@ unsigned int __read_mostly sysctl_sched_autogroup_enabled = 1;
 static struct autogroup autogroup_default;
 static atomic_t autogroup_seq_nr;
 
-static void autogroup_init(struct task_struct *init_task)
+static void __init autogroup_init(struct task_struct *init_task)
 {
        autogroup_default.tg = &root_task_group;
        root_task_group.autogroup = &autogroup_default;