The branch main has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=f1069375d97384754a9e8ee8bc21a32d3ad10987
commit f1069375d97384754a9e8ee8bc21a32d3ad10987 Author: Bjoern A. Zeeb <[email protected]> AuthorDate: 2021-03-23 16:51:08 +0000 Commit: Bjoern A. Zeeb <[email protected]> CommitDate: 2021-03-24 22:50:55 +0000 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 --- sys/compat/linuxkpi/common/include/linux/lockdep.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sys/compat/linuxkpi/common/include/linux/lockdep.h b/sys/compat/linuxkpi/common/include/linux/lockdep.h index a86157ba5924..de82d06a419e 100644 --- a/sys/compat/linuxkpi/common/include/linux/lockdep.h +++ b/sys/compat/linuxkpi/common/include/linux/lockdep.h @@ -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_ */ _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/dev-commits-src-main To unsubscribe, send any mail to "[email protected]"
