Commit f38f12d1 authored by Muchun Song's avatar Muchun Song Committed by Peter Zijlstra

sched/fair: Mark sched_init_granularity __init

Function sched_init_granularity() is only called from __init
functions, so mark it __init as well.
Signed-off-by: default avatarMuchun Song <songmuchun@bytedance.com>
Signed-off-by: default avatarPeter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: default avatarSteven Rostedt (VMware) <rostedt@goodmis.org>
Link: https://lkml.kernel.org/r/20200406074750.56533-1-songmuchun@bytedance.com
parent 5a6d6a6c
......@@ -191,7 +191,7 @@ static void update_sysctl(void)
#undef SET_SYSCTL
}
void sched_init_granularity(void)
void __init sched_init_granularity(void)
{
update_sysctl();
}
......
Markdown is supported
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