diff options
| author | Lorenzo Stoakes <lorenzo.stoakes@oracle.com> | 2024-09-24 19:07:24 +0100 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2024-09-26 14:01:43 -0700 |
| commit | c234c6534040b1c1f8adcaf44702fc3e584cb1fe (patch) | |
| tree | e02afe33deb9c9df063e2c917c4e1454d6d0a8d6 /tools/testing/shared/shared.h | |
| parent | Merge tag 'media/v6.12-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mc... (diff) | |
| download | linux-c234c6534040b1c1f8adcaf44702fc3e584cb1fe.tar.gz linux-c234c6534040b1c1f8adcaf44702fc3e584cb1fe.zip | |
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>
Diffstat (limited to 'tools/testing/shared/shared.h')
| -rw-r--r-- | tools/testing/shared/shared.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/testing/shared/shared.h b/tools/testing/shared/shared.h index f08f683812ad..13fb4d39966b 100644 --- a/tools/testing/shared/shared.h +++ b/tools/testing/shared/shared.h @@ -1,4 +1,6 @@ /* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __SHARED_H__ +#define __SHARED_H__ #include <linux/types.h> #include <linux/bug.h> @@ -31,3 +33,5 @@ #ifndef dump_stack #define dump_stack() assert(0) #endif + +#endif /* __SHARED_H__ */ |
