Skip to content

Commit c349fa1

Browse files
howlettakpm00
authored andcommitted
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/[email protected] Signed-off-by: Liam R. Howlett <[email protected]> Tested-by: Yu Zhao <[email protected]> Cc: Catalin Marinas <[email protected]> Cc: David Hildenbrand <[email protected]> Cc: David Howells <[email protected]> Cc: Davidlohr Bueso <[email protected]> Cc: "Matthew Wilcox (Oracle)" <[email protected]> Cc: SeongJae Park <[email protected]> Cc: Sven Schnelle <[email protected]> Cc: Vlastimil Babka <[email protected]> Cc: Will Deacon <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
1 parent cc86e0c commit c349fa1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tools/testing/radix-tree/linux/lockdep.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,6 @@ static inline void lockdep_set_class(spinlock_t *lock,
1111
struct lock_class_key *key)
1212
{
1313
}
14+
15+
extern int lockdep_is_held(const void *);
1416
#endif /* _LINUX_LOCKDEP_H */

0 commit comments

Comments
 (0)