diff options
| author | Ming Lei <ming.lei@redhat.com> | 2022-12-27 10:29:04 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-01-10 17:10:33 +0100 |
| commit | f33b27f5c3de579dc8e3af27569507c868cb0812 (patch) | |
| tree | 269ba6029075182f5c7a633a5788b94f647bfad9 /lib/Makefile | |
| parent | 617ba3735d3b49c9b2db1e631b8bc008fdc83a5d (diff) | |
| download | linux-f33b27f5c3de579dc8e3af27569507c868cb0812.tar.gz linux-f33b27f5c3de579dc8e3af27569507c868cb0812.tar.bz2 linux-f33b27f5c3de579dc8e3af27569507c868cb0812.zip | |
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>
Diffstat (limited to 'lib/Makefile')
| -rw-r--r-- | lib/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Makefile b/lib/Makefile index 5ffe72ec9979..6f1611d053e6 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -361,6 +361,8 @@ obj-$(CONFIG_SBITMAP) += sbitmap.o obj-$(CONFIG_PARMAN) += parman.o +obj-y += group_cpus.o + # GCC library routines obj-$(CONFIG_GENERIC_LIB_ASHLDI3) += ashldi3.o obj-$(CONFIG_GENERIC_LIB_ASHRDI3) += ashrdi3.o |
