Date: Sun, 18 Jul 2021 00:35:57 GMT From: "Bjoern A. Zeeb" <bz@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: 1ebd9dc37266 - stable/13 - LinuxKPI: add lockdep_map Message-ID: <202107180035.16I0ZvMa048478@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=1ebd9dc372664b744b9000b45e2744e8e573642c commit 1ebd9dc372664b744b9000b45e2744e8e573642c Author: Bjoern A. Zeeb <bz@FreeBSD.org> AuthorDate: 2021-03-23 16:51:08 +0000 Commit: Bjoern A. Zeeb <bz@FreeBSD.org> CommitDate: 2021-07-18 00:34:58 +0000 LinuxKPI: add lockdep_map Add stubs for struct lockdep_map and three accessor functions used by iwlwifi. Sponsored by: The FreeBSD Foundation Reviewed by: hselasky, emaste Differential Revision: https://reviews.freebsd.org/D29398 (cherry picked from commit f1069375d97384754a9e8ee8bc21a32d3ad10987) --- 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 e270224b0bde..0bcb1fa7b925 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) @@ -90,4 +92,8 @@ lockdep_is_held(void *__m) #define lockdep_repin_lock(l,c) do { } while (0) #define lockdep_unpin_lock(l,c) 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_ */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202107180035.16I0ZvMa048478>