1 #ifndef _LINUX_LOCKDEP_H 1 #ifndef _LINUX_LOCKDEP_H 2 #define _LINUX_LOCKDEP_H 2 #define _LINUX_LOCKDEP_H 3 3 4 #include <linux/spinlock.h> 4 #include <linux/spinlock.h> 5 5 6 struct lock_class_key { 6 struct lock_class_key { 7 unsigned int a; 7 unsigned int a; 8 }; 8 }; 9 9 10 static inline void lockdep_set_class(spinlock_ 10 static inline void lockdep_set_class(spinlock_t *lock, 11 struct 11 struct lock_class_key *key) 12 { 12 { 13 } 13 } 14 14 15 extern int lockdep_is_held(const void *); 15 extern int lockdep_is_held(const void *); 16 #endif /* _LINUX_LOCKDEP_H */ 16 #endif /* _LINUX_LOCKDEP_H */ 17 17
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.