Skip to content

Commit

Permalink
radix tree test suite: add lockdep_is_held to header
Browse files Browse the repository at this point in the history
maple tree uses lockdep_is_held, so define it as external in the header.

Signed-off-by: Liam R. Howlett <Liam.Howlett@oracle.com>
Signed-off-by: Alexandre Frade <kernel@xanmod.org>
  • Loading branch information
howlett authored and xanmod committed Oct 3, 2022
1 parent 0847806 commit a6503ef
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/testing/radix-tree/linux/lockdep.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */

0 comments on commit a6503ef

Please sign in to comment.