diff options
author | Xavier <xavier_qy@163.com> | 2024-07-04 08:24:43 +0200 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2024-07-31 01:04:36 +0200 |
commit | 93c8332c8373fee415bd79f08d5ba4ba7ca5ad15 (patch) | |
tree | de7441511fcc624ed96229dfff371e7c0d4d83d4 /lib/Makefile | |
parent | cgroup/cpuset: add decrease attach_in_progress helpers (diff) | |
download | linux-93c8332c8373fee415bd79f08d5ba4ba7ca5ad15.tar.xz linux-93c8332c8373fee415bd79f08d5ba4ba7ca5ad15.zip |
Union-Find: add a new module in kernel library
This patch implements a union-find data structure in the kernel library,
which includes operations for allocating nodes, freeing nodes,
finding the root of a node, and merging two nodes.
Signed-off-by: Xavier <xavier_qy@163.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'lib/Makefile')
-rw-r--r-- | lib/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Makefile b/lib/Makefile index 322bb127b4dc..a5e3c1d5b6f9 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -34,7 +34,7 @@ lib-y := ctype.o string.o vsprintf.o cmdline.o \ is_single_threaded.o plist.o decompress.o kobject_uevent.o \ earlycpio.o seq_buf.o siphash.o dec_and_lock.o \ nmi_backtrace.o win_minmax.o memcat_p.o \ - buildid.o objpool.o + buildid.o objpool.o union_find.o lib-$(CONFIG_PRINTK) += dump_stack.o lib-$(CONFIG_SMP) += cpumask.o |