diff options
author | Muchun Song | 2020-04-06 15:47:50 +0800 |
---|---|---|
committer | Peter Zijlstra | 2020-04-30 20:14:41 +0200 |
commit | f38f12d1e0811c0ee59260b2bdadedf99e16c4af (patch) | |
tree | 57ef14f762ab77d587538269bf53b44b846c2ec7 /kernel/sched/fair.c | |
parent | 5a6d6a6ccb5f48ca8cf7c6d64ff83fd9c7999390 (diff) |
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: Muchun Song <songmuchun@bytedance.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Link: https://lkml.kernel.org/r/20200406074750.56533-1-songmuchun@bytedance.com
Diffstat (limited to 'kernel/sched/fair.c')
-rw-r--r-- | kernel/sched/fair.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index fac5b2f85247..cd7fd7e2b579 100644 --- a/kernel/sched/fair.c +++ b/kernel/sched/fair.c @@ -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(); } |