]> Git Repo - linux.git/commitdiff
sched: Mark autogroup_init() __init
authorYong Zhang <[email protected]>
Fri, 7 Jan 2011 04:43:45 +0000 (12:43 +0800)
committerIngo Molnar <[email protected]>
Fri, 7 Jan 2011 14:54:36 +0000 (15:54 +0100)
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: <1294375425[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
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;
This page took 0.056884 seconds and 4 git commands to generate.