aboutsummaryrefslogtreecommitdiff
path: root/sys/compat/linuxkpi/common
diff options
context:
space:
mode:
authorBjoern A. Zeeb <bz@FreeBSD.org>2022-09-22 15:03:36 +0000
committerBjoern A. Zeeb <bz@FreeBSD.org>2022-09-22 15:10:03 +0000
commitb27c3aa800bb1b3fc6081895df501c367dc3d9cc (patch)
tree08c155e774271a8ec608f539200e1237e4316013 /sys/compat/linuxkpi/common
parentc41d83548b6cf18b48af974ad995354f38cf04a4 (diff)
downloadsrc-b27c3aa800bb1b3fc6081895df501c367dc3d9cc.tar.gz
src-b27c3aa800bb1b3fc6081895df501c367dc3d9cc.zip
LinuxKPI: lockdep.h add lockdep_{,un}register_key()
Add NOPs for lockdep_{,un}register_key(). Sponsored by: The FreeBSD Foundation MFC after: 7 days Reviewed by: hselasky, emaste Differential Revision: https://reviews.freebsd.org/D36658
Diffstat (limited to 'sys/compat/linuxkpi/common')
-rw-r--r--sys/compat/linuxkpi/common/include/linux/lockdep.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/compat/linuxkpi/common/include/linux/lockdep.h b/sys/compat/linuxkpi/common/include/linux/lockdep.h
index 2289db7756d4..89e66267f3dc 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 { \