lockdep.h 290 B

12345678910111213141516
  1. #ifndef _LINUX_LOCKDEP_H
  2. #define _LINUX_LOCKDEP_H
  3. #include <linux/spinlock.h>
  4. struct lock_class_key {
  5. unsigned int a;
  6. };
  7. static inline void lockdep_set_class(spinlock_t *lock,
  8. struct lock_class_key *key)
  9. {
  10. }
  11. extern int lockdep_is_held(const void *);
  12. #endif /* _LINUX_LOCKDEP_H */