Commit 0ca08735 authored by Yong Zhang's avatar Yong Zhang Committed by Ingo Molnar
Browse files

sched: Mark autogroup_init() __init

autogroup_init() is only called at boot time.
Signed-off-by: default avatarYong Zhang <>
Cc: Mike Galbraith <>
Signed-off-by: default avatarPeter Zijlstra <>
LKML-Reference: <>
Signed-off-by: default avatarIngo Molnar <>
parent 07e06b01
......@@ -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)
{ = &root_task_group;
root_task_group.autogroup = &autogroup_default;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment