sched: Mark autogroup_init() __init
[firefly-linux-kernel-4.4.55.git] / 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;