mirror of
https://github.com/opnsense/src.git
synced 2026-06-03 22:02:58 -04:00
Implement more lockdep stubs in the LinuxKPI.
MFC after: 1 week Submitted by: Johannes Lundberg <johalun0@gmail.com> Sponsored by: Mellanox Technologies Sponsored by: Limelight Networks
This commit is contained in:
parent
8554bc585b
commit
86ba49a722
1 changed files with 2 additions and 1 deletions
|
|
@ -36,8 +36,9 @@ struct lock_class_key {
|
|||
};
|
||||
|
||||
#define lockdep_set_class(lock, key)
|
||||
|
||||
#define lockdep_set_class_and_name(lock, key, name)
|
||||
#define lockdep_set_current_reclaim_state(g) do { } while (0)
|
||||
#define lockdep_clear_current_reclaim_state() do { } while (0)
|
||||
|
||||
#define lockdep_assert_held(m) \
|
||||
sx_assert(&(m)->sx, SA_XLOCKED)
|
||||
|
|
|
|||
Loading…
Reference in a new issue