]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
tools: fix shared radix-tree build
authorLorenzo Stoakes <lorenzo.stoakes@oracle.com>
Tue, 24 Sep 2024 18:07:24 +0000 (19:07 +0100)
committerAndrew Morton <akpm@linux-foundation.org>
Thu, 26 Sep 2024 21:01:43 +0000 (14:01 -0700)
commitc234c6534040b1c1f8adcaf44702fc3e584cb1fe
treee02afe33deb9c9df063e2c917c4e1454d6d0a8d6
parentabf2050f51fdca0fd146388f83cddd95a57a008d
tools: fix shared radix-tree build

The shared radix-tree build is not correctly recompiling when
lib/maple_tree.c and lib/test_maple_tree.c are modified - fix this by
adding these core components to the SHARED_DEPS list.

Additionally, add missing header guards to shared header files.

Link: https://lkml.kernel.org/r/20240924180724.112169-1-lorenzo.stoakes@oracle.com
Fixes: 74579d8dab47 ("tools: separate out shared radix-tree components")
Signed-off-by: Lorenzo Stoakes <lorenzo.stoakes@oracle.com>
Tested-by: Sidhartha Kumar <sidhartha.kumar@oracle.com>
Cc: "Liam R. Howlett" <Liam.Howlett@oracle.com>
Cc: Matthew Wilcox <willy@infradead.org>
Cc: Vlastimil Babka <vbabka@suse.cz>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
tools/testing/shared/maple-shared.h
tools/testing/shared/shared.h
tools/testing/shared/shared.mk
tools/testing/shared/xarray-shared.h