projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bbd0b03
)
sched/topology: Add __init for sched_init_domains()
author
Bing Huang
<huangbing@kylinos.cn>
Thu, 5 Jan 2023 01:49:43 +0000
(09:49 +0800)
committer
Ingo Molnar
<mingo@kernel.org>
Thu, 5 Jan 2023 10:42:13 +0000
(11:42 +0100)
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
patch
|
blob
|
history
diff --git
a/kernel/sched/topology.c
b/kernel/sched/topology.c
index dea9fa39e7c0213589766592828aa0673e8fea90..d93c3379e90130ec9c4c5911e416205de1153cae 100644
(file)
--- 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;