From: Yong Zhang Date: Fri, 7 Jan 2011 04:43:45 +0000 (+0800) Subject: sched: Mark autogroup_init() __init X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0ca0873555c0abe17b28c25b19f82857c0ddd2bc;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git sched: Mark autogroup_init() __init autogroup_init() is only called at boot time. Signed-off-by: Yong Zhang Cc: Mike Galbraith Signed-off-by: Peter Zijlstra LKML-Reference: <1294375425-31065-1-git-send-email-yong.zhang0@gmail.com> Signed-off-by: Ingo Molnar --- 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;