summaryrefslogtreecommitdiff
path: root/include/linux/sched
diff options
context:
space:
mode:
authorJuri Lelli <juri.lelli@redhat.com>2025-03-13 18:13:29 +0100
committerPeter Zijlstra <peterz@infradead.org>2025-03-17 11:23:43 +0100
commit34929a070b7fd06c386080c926b61ee844e6ad34 (patch)
treeaf08e60bb49cab610606fdc8bd4265ae1ff61aad /include/linux/sched
parentd128130f486b4aa86086655af0fbb943b26b0003 (diff)
downloadlwn-34929a070b7fd06c386080c926b61ee844e6ad34.tar.gz
lwn-34929a070b7fd06c386080c926b61ee844e6ad34.zip
include/{topology,cpuset}: Move dl_rebuild_rd_accounting to cpuset.h
dl_rebuild_rd_accounting() is defined in cpuset.c, so it makes more sense to move related declarations to cpuset.h. Implement the move. Suggested-by: Waiman Long <llong@redhat.com> Signed-off-by: Juri Lelli <juri.lelli@redhat.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Reviewed-by: Waiman Long <llong@redhat.com> Reviewed-by: Valentin Schneider <vschneid@redhat.com> Reviewed-by: Dietmar Eggemann <dietmar.eggemann@arm.com> Tested-by: Waiman Long <longman@redhat.com> Tested-by: Jon Hunter <jonathanh@nvidia.com> Tested-by: Dietmar Eggemann <dietmar.eggemann@arm.com> Link: https://lore.kernel.org/r/Z9MSOVMpU7jpVrMU@jlelli-thinkpadt14gen4.remote.csb
Diffstat (limited to 'include/linux/sched')
-rw-r--r--include/linux/sched/topology.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/sched/topology.h b/include/linux/sched/topology.h
index 96e69bfc3c8a..51f7b8169515 100644
--- a/include/linux/sched/topology.h
+++ b/include/linux/sched/topology.h
@@ -166,8 +166,6 @@ static inline struct cpumask *sched_domain_span(struct sched_domain *sd)
return to_cpumask(sd->span);
}
-extern void dl_rebuild_rd_accounting(void);
-
extern void partition_sched_domains(int ndoms_new, cpumask_var_t doms_new[],
struct sched_domain_attr *dattr_new);