]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
radix tree test suite: add lockdep_is_held to header
authorLiam R. Howlett <Liam.Howlett@Oracle.com>
Thu, 14 Apr 2022 06:07:12 +0000 (23:07 -0700)
committerLiam R. Howlett <Liam.Howlett@oracle.com>
Tue, 26 Apr 2022 14:36:19 +0000 (10:36 -0400)
maple tree uses lockdep_is_held, so define it as external in the header.

Signed-off-by: Liam R. Howlett <Liam.Howlett@oracle.com>
tools/testing/radix-tree/linux/lockdep.h

index 016cff473cfc483963cd1b4586243fa3e73378e7..62473ab57f99c252237d9639a2155a30735a626f 100644 (file)
@@ -11,4 +11,6 @@ static inline void lockdep_set_class(spinlock_t *lock,
                                        struct lock_class_key *key)
 {
 }
+
+extern int lockdep_is_held(const void *);
 #endif /* _LINUX_LOCKDEP_H */