hc
2024-01-31 f9004dbfff8a3fbbd7e2a88c8a4327c7f2f8e5b2
kernel/tools/lib/lockdep/include/liblockdep/common.h
....@@ -42,8 +42,10 @@
4242 void lock_acquire(struct lockdep_map *lock, unsigned int subclass,
4343 int trylock, int read, int check,
4444 struct lockdep_map *nest_lock, unsigned long ip);
45
-void lock_release(struct lockdep_map *lock, int nested,
46
- unsigned long ip);
45
+void lock_release(struct lockdep_map *lock, unsigned long ip);
46
+void lockdep_reset_lock(struct lockdep_map *lock);
47
+void lockdep_register_key(struct lock_class_key *key);
48
+void lockdep_unregister_key(struct lock_class_key *key);
4749 extern void debug_check_no_locks_freed(const void *from, unsigned long len);
4850
4951 #define STATIC_LOCKDEP_MAP_INIT(_name, _key) \