Commit 0ca0873555c0abe17b28c25b19f82857c0ddd2bc

Authored by Yong Zhang
Committed by Ingo Molnar
1 parent 07e06b011d

sched: Mark autogroup_init() __init

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>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

kernel/sched_autogroup.c
... ... @@ -9,7 +9,7 @@
9 9 static struct autogroup autogroup_default;
10 10 static atomic_t autogroup_seq_nr;
11 11  
12   -static void autogroup_init(struct task_struct *init_task)
  12 +static void __init autogroup_init(struct task_struct *init_task)
13 13 {
14 14 autogroup_default.tg = &root_task_group;
15 15 root_task_group.autogroup = &autogroup_default;