LinuxKPI: lockdep.h add lockdep_{,un}register_key()
Add NOPs for lockdep_{,un}register_key(). Sponsored by: The FreeBSD Foundation MFC after: 7 days Reviewed by: hselasky, emaste Differential Revision: https://reviews.freebsd.org/D36658
This commit is contained in:
parent
c41d83548b
commit
b27c3aa800
@ -48,6 +48,8 @@ struct pin_cookie {
|
||||
#define lockdep_set_current_reclaim_state(g) do { } while (0)
|
||||
#define lockdep_clear_current_reclaim_state() do { } while (0)
|
||||
#define lockdep_init_map(_map, _name, _key, _x) do { } while(0)
|
||||
#define lockdep_register_key(key) do { } while(0)
|
||||
#define lockdep_unregister_key(key) do { } while(0)
|
||||
|
||||
#ifdef INVARIANTS
|
||||
#define lockdep_assert_not_held(m) do { \
|
||||
|
Loading…
Reference in New Issue
Block a user