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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;