aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYong Zhang <[email protected]>2011-01-07 12:43:45 +0800
committerIngo Molnar <[email protected]>2011-01-07 15:54:36 +0100
commit0ca0873555c0abe17b28c25b19f82857c0ddd2bc (patch)
treee777dbbcf9ea2e72f253c2816d7ec2e768e09178
parent07e06b011db2b3300f6c975ebf293fc4c8c59942 (diff)
sched: Mark autogroup_init() __init
autogroup_init() is only called at boot time. Signed-off-by: Yong Zhang <[email protected]> Cc: Mike Galbraith <[email protected]> Signed-off-by: Peter Zijlstra <[email protected]> LKML-Reference: <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
-rw-r--r--kernel/sched_autogroup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched_autogroup.c b/kernel/sched_autogroup.c
index e011e53433a6..32a723b8f84c 100644
--- a/kernel/sched_autogroup.c
+++ b/kernel/sched_autogroup.c
@@ -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;