diff options
author | hselasky <hselasky@FreeBSD.org> | 2018-02-25 10:28:52 +0000 |
---|---|---|
committer | hselasky <hselasky@FreeBSD.org> | 2018-02-25 10:28:52 +0000 |
commit | fa1a8cfc000e255c9a496e13a979eedd813e6d50 (patch) | |
tree | add11224e0cac72862c94dded1b0fc427f860194 | |
parent | aa05c886f37f1b3a5cd369b5df229f9c16b00898 (diff) | |
download | FreeBSD-src-fa1a8cfc000e255c9a496e13a979eedd813e6d50.zip FreeBSD-src-fa1a8cfc000e255c9a496e13a979eedd813e6d50.tar.gz |
MFC r329476:
Stub more lockdep function macros in the LinuxKPI.
Submitted by: Johannes Lundberg <johalun0@gmail.com>
Sponsored by: Mellanox Technologies
-rw-r--r-- | sys/compat/linuxkpi/common/include/linux/lockdep.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/compat/linuxkpi/common/include/linux/lockdep.h b/sys/compat/linuxkpi/common/include/linux/lockdep.h index 4bf902d..6b9f71d 100644 --- a/sys/compat/linuxkpi/common/include/linux/lockdep.h +++ b/sys/compat/linuxkpi/common/include/linux/lockdep.h @@ -48,5 +48,10 @@ struct lock_class_key { #define lockdep_is_held(m) (sx_xholder(&(m)->sx) == curthread) #define might_lock(m) do { } while (0) +#define might_lock_read(m) do { } while (0) + +#define lock_acquire(...) do { } while (0) +#define lock_release(...) do { } while (0) +#define lock_acquire_shared_recursive(...) do { } while (0) #endif /* _LINUX_LOCKDEP_H_ */ |