mirror of
https://github.com/opnsense/src.git
synced 2026-06-03 22:02:58 -04:00
LinuxKPI: add lockdep_map
Add stubs for struct lockdep_map and three accessor functions used by iwlwifi. Obtained-from: bz_iwlwifi Sponsored-by: The FreeBSD Foundation MFC-after: 2 weeks Reviewed-by: hselasky, emaste Differential Revision: https://reviews.freebsd.org/D29398
This commit is contained in:
parent
5a402a3ae3
commit
f1069375d9
1 changed files with 6 additions and 0 deletions
|
|
@ -36,6 +36,8 @@
|
|||
|
||||
struct lock_class_key {
|
||||
};
|
||||
struct lockdep_map {
|
||||
};
|
||||
|
||||
#define lockdep_set_class(lock, key)
|
||||
#define lockdep_set_subclass(lock, sub)
|
||||
|
|
@ -85,4 +87,8 @@ lockdep_is_held(void *__m)
|
|||
#define mutex_acquire(...) do { } while (0)
|
||||
#define mutex_release(...) do { } while (0)
|
||||
|
||||
#define lock_map_acquire(_map) do { } while (0)
|
||||
#define lock_map_acquire_read(_map) do { } while (0)
|
||||
#define lock_map_release(_map) do { } while (0)
|
||||
|
||||
#endif /* _LINUX_LOCKDEP_H_ */
|
||||
|
|
|
|||
Loading…
Reference in a new issue