The following commit has been merged into the sched/core branch of tip: Commit-ID: f38f12d1e0811c0ee59260b2bdadedf99e16c4af Gitweb: https://git.kernel.org/tip/f38f12d1e0811c0ee59260b2bdadedf99e16c4af Author: Muchun Song <[email protected]> AuthorDate: Mon, 06 Apr 2020 15:47:50 +08:00 Committer: Peter Zijlstra <[email protected]> CommitterDate: Thu, 30 Apr 2020 20:14:41 +02:00
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 <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Reviewed-by: Steven Rostedt (VMware) <[email protected]> Link: https://lkml.kernel.org/r/[email protected] --- kernel/sched/fair.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index fac5b2f..cd7fd7e 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(); }

