summaryrefslogtreecommitdiffstats
path: root/lib/Makefile
diff options
context:
space:
mode:
authorMing Lei <ming.lei@redhat.com>2022-12-27 03:29:04 +0100
committerThomas Gleixner <tglx@linutronix.de>2023-01-17 18:50:06 +0100
commitf7b3ea8cf72f3d6060fe08e461805181e7450a13 (patch)
tree881e388957746dc03c706269601d02aa6e4ff2ed /lib/Makefile
parentgenirq/affinity: Rename irq_build_affinity_masks as group_cpus_evenly (diff)
downloadlinux-f7b3ea8cf72f3d6060fe08e461805181e7450a13.tar.xz
linux-f7b3ea8cf72f3d6060fe08e461805181e7450a13.zip
genirq/affinity: Move group_cpus_evenly() into lib/
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
Diffstat (limited to 'lib/Makefile')
-rw-r--r--lib/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Makefile b/lib/Makefile
index 4d9461bfea42..a4665a802e87 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -353,6 +353,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