Commit ef90cf22 authored by Bing Huang's avatar Bing Huang Committed by Ingo Molnar

sched/topology: Add __init for sched_init_domains()

sched_init_domains() is only used in initialization
Signed-off-by: default avatarBing Huang <huangbing@kylinos.cn>
Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20230105014943.9857-1-huangbing775@126.com
parent bbd0b031
......@@ -2451,7 +2451,7 @@ void free_sched_domains(cpumask_var_t doms[], unsigned int ndoms)
* Set up scheduler domains and groups. For now this just excludes isolated
* CPUs, but could be used to exclude other special cases in the future.
*/
int sched_init_domains(const struct cpumask *cpu_map)
int __init sched_init_domains(const struct cpumask *cpu_map)
{
int err;
......
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