diff options
author | Hans Petter Selasky <hselasky@FreeBSD.org> | 2018-02-17 22:41:20 +0000 |
---|---|---|
committer | Hans Petter Selasky <hselasky@FreeBSD.org> | 2018-02-17 22:41:20 +0000 |
commit | 1169b94c7bba54a0c23a6896ebb48ab4be438ac6 (patch) | |
tree | b2c194bc07e4931a91695acb0d443272abdc906d /sys/compat/linuxkpi/common/include | |
parent | 94b9710bc7213b354efcd966cbacaeb07d6fbdc3 (diff) | |
download | src-1169b94c7bba54a0c23a6896ebb48ab4be438ac6.tar.gz src-1169b94c7bba54a0c23a6896ebb48ab4be438ac6.zip |
Stub more lockdep function macros in the LinuxKPI.
MFC after: 1 week
Submitted by: Johannes Lundberg <johalun0@gmail.com>
Sponsored by: Mellanox Technologies
Notes
Notes:
svn path=/head/; revision=329476
Diffstat (limited to 'sys/compat/linuxkpi/common/include')
-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 4bf902de0f83..6b9f71dd8603 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_ */ |