]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
genirq/affinity: Move group_cpus_evenly() into lib/
authorMing Lei <ming.lei@redhat.com>
Tue, 27 Dec 2022 02:29:04 +0000 (10:29 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 10 Jan 2024 16:10:33 +0000 (17:10 +0100)
commitf33b27f5c3de579dc8e3af27569507c868cb0812
tree269ba6029075182f5c7a633a5788b94f647bfad9
parent617ba3735d3b49c9b2db1e631b8bc008fdc83a5d
genirq/affinity: Move group_cpus_evenly() into lib/

[ Upstream commit f7b3ea8cf72f3d6060fe08e461805181e7450a13 ]

group_cpus_evenly() has become a generic function which can be used for
other subsystems than the interrupt subsystem, so move it into lib/.

Signed-off-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jens Axboe <axboe@kernel.dk>
Link: https://lore.kernel.org/r/20221227022905.352674-6-ming.lei@redhat.com
Stable-dep-of: 0263f92fadbb ("lib/group_cpus.c: avoid acquiring cpu hotplug lock in group_cpus_evenly")
Signed-off-by: Sasha Levin <sashal@kernel.org>
MAINTAINERS
include/linux/group_cpus.h [new file with mode: 0644]
kernel/irq/affinity.c
lib/Makefile
lib/group_cpus.c [new file with mode: 0644]