You need to sign in or sign up before continuing.
提交 f38f12d1 编写于 作者: M Muchun Song 提交者: 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: NMuchun Song <songmuchun@bytedance.com>
Signed-off-by: NPeter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: NSteven Rostedt (VMware) <rostedt@goodmis.org>
Link: https://lkml.kernel.org/r/20200406074750.56533-1-songmuchun@bytedance.com
上级 5a6d6a6c
...@@ -191,7 +191,7 @@ static void update_sysctl(void) ...@@ -191,7 +191,7 @@ static void update_sysctl(void)
#undef SET_SYSCTL #undef SET_SYSCTL
} }
void sched_init_granularity(void) void __init sched_init_granularity(void)
{ {
update_sysctl(); update_sysctl();
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册