mirror of
https://github.com/torvalds/linux.git
synced 2024-11-26 22:21:42 +00:00
sched/topology: Add __init for sched_init_domains()
sched_init_domains() is only used in initialization Signed-off-by: Bing Huang <huangbing@kylinos.cn> Signed-off-by: Ingo Molnar <mingo@kernel.org> Link: https://lore.kernel.org/r/20230105014943.9857-1-huangbing775@126.com
This commit is contained in:
parent
bbd0b03150
commit
ef90cf2281
@ -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
|
* 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.
|
* 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;
|
int err;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user