lkml.org 
[lkml]   [2023]   [Jan]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[tip: sched/core] sched/topology: Add __init for sched_init_domains()
The following commit has been merged into the sched/core branch of tip:

Commit-ID: ef90cf2281a013d359d24d51732af990badf6e03
Gitweb: https://git.kernel.org/tip/ef90cf2281a013d359d24d51732af990badf6e03
Author: Bing Huang <huangbing@kylinos.cn>
AuthorDate: Thu, 05 Jan 2023 09:49:43 +08:00
Committer: Ingo Molnar <mingo@kernel.org>
CommitterDate: Thu, 05 Jan 2023 11:42:13 +01: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
---
kernel/sched/topology.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/sched/topology.c b/kernel/sched/topology.c
index dea9fa3..d93c337 100644
--- a/kernel/sched/topology.c
+++ b/kernel/sched/topology.c
@@ -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;

\
 
 \ /
  Last update: 2023-03-26 23:28    [W:0.040 / U:0.880 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site