svn commit: r329476 - head/sys/compat/linuxkpi/common/include/linux
Hans Petter Selasky
hselasky at FreeBSD.org
Sat Feb 17 22:41:21 UTC 2018
Author: hselasky
Date: Sat Feb 17 22:41:20 2018
New Revision: 329476
URL: https://svnweb.freebsd.org/changeset/base/329476
Log:
Stub more lockdep function macros in the LinuxKPI.
MFC after: 1 week
Submitted by: Johannes Lundberg <johalun0 at gmail.com>
Sponsored by: Mellanox Technologies
Modified:
head/sys/compat/linuxkpi/common/include/linux/lockdep.h
Modified: head/sys/compat/linuxkpi/common/include/linux/lockdep.h
==============================================================================
--- head/sys/compat/linuxkpi/common/include/linux/lockdep.h Sat Feb 17 22:33:26 2018 (r329475)
+++ head/sys/compat/linuxkpi/common/include/linux/lockdep.h Sat Feb 17 22:41:20 2018 (r329476)
@@ -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_ */
More information about the svn-src-head
mailing list