git: e92fdab4bd60 - stable/13 - LinuxKPI: lockdep.h add lockdep_{,un}register_key()
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 17 Oct 2022 20:41:32 UTC
The branch stable/13 has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=e92fdab4bd601eee4dd134d6be5617c06fe768a6 commit e92fdab4bd601eee4dd134d6be5617c06fe768a6 Author: Bjoern A. Zeeb <bz@FreeBSD.org> AuthorDate: 2022-09-22 15:03:36 +0000 Commit: Bjoern A. Zeeb <bz@FreeBSD.org> CommitDate: 2022-10-17 20:37:03 +0000 LinuxKPI: lockdep.h add lockdep_{,un}register_key() Add NOPs for lockdep_{,un}register_key(). Sponsored by: The FreeBSD Foundation Reviewed by: hselasky, emaste Differential Revision: https://reviews.freebsd.org/D36658 (cherry picked from commit b27c3aa800bb1b3fc6081895df501c367dc3d9cc) --- sys/compat/linuxkpi/common/include/linux/lockdep.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/compat/linuxkpi/common/include/linux/lockdep.h b/sys/compat/linuxkpi/common/include/linux/lockdep.h index 66bda709606e..6e375d05d477 100644 --- a/sys/compat/linuxkpi/common/include/linux/lockdep.h +++ b/sys/compat/linuxkpi/common/include/linux/lockdep.h @@ -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 { \