include/{topology,cpuset}: Move dl_rebuild_rd_accounting to cpuset.h
authorJuri Lelli <juri.lelli@redhat.com>
Thu, 13 Mar 2025 17:13:29 +0000 (18:13 +0100)
committerPeter Zijlstra <peterz@infradead.org>
Mon, 17 Mar 2025 10:23:43 +0000 (11:23 +0100)
commit34929a070b7fd06c386080c926b61ee844e6ad34
treeaf08e60bb49cab610606fdc8bd4265ae1ff61aad
parentd128130f486b4aa86086655af0fbb943b26b0003
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
include/linux/cpuset.h
include/linux/sched/topology.h