File Index
Files and directories
Sign in
FILE

lockdep.h

File preview with syntax highlighting.

linux-6.19.14/tools/testing/shared/linux/lockdep.h C
 1#ifndef _LINUX_LOCKDEP_H
 2#define _LINUX_LOCKDEP_H
 3
 4#include <linux/spinlock.h>
 5
 6struct lock_class_key {
 7	unsigned int a;
 8};
 9
10static inline void lockdep_set_class(spinlock_t *lock,
11					struct lock_class_key *key)
12{
13}
14
15extern int lockdep_is_held(const void *);
16#endif /* _LINUX_LOCKDEP_H */
~/ Read-only file preview.