From: Liam R. Howlett Date: Mon, 22 Aug 2022 15:02:33 +0000 (+0000) Subject: radix tree test suite: add lockdep_is_held to header X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=50626b149a675ac99535adbdc0695498eaae20cb;p=users%2Fjedix%2Flinux-maple.git radix tree test suite: add lockdep_is_held to header maple tree uses lockdep_is_held, so define it as external in the header. Link: https://lkml.kernel.org/r/20220822150128.1562046-7-Liam.Howlett@oracle.com Signed-off-by: Liam R. Howlett Cc: Catalin Marinas Cc: David Hildenbrand Cc: David Howells Cc: "Matthew Wilcox (Oracle)" Cc: SeongJae Park Cc: Sven Schnelle Cc: Vlastimil Babka Cc: Will Deacon Cc: Yu Zhao Cc: Davidlohr Bueso Signed-off-by: Andrew Morton --- diff --git a/tools/testing/radix-tree/linux/lockdep.h b/tools/testing/radix-tree/linux/lockdep.h index 016cff473cfc4..62473ab57f99c 100644 --- a/tools/testing/radix-tree/linux/lockdep.h +++ b/tools/testing/radix-tree/linux/lockdep.h @@ -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 */