svn commit: r329964 - stable/11/sys/compat/linuxkpi/common/include/linux

Hans Petter Selasky hselasky at FreeBSD.org
Sun Feb 25 10:28:53 UTC 2018


Author: hselasky
Date: Sun Feb 25 10:28:52 2018
New Revision: 329964
URL: https://svnweb.freebsd.org/changeset/base/329964

Log:
  MFC r329476:
  Stub more lockdep function macros in the LinuxKPI.
  
  Submitted by:	Johannes Lundberg <johalun0 at gmail.com>
  Sponsored by:	Mellanox Technologies

Modified:
  stable/11/sys/compat/linuxkpi/common/include/linux/lockdep.h
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/compat/linuxkpi/common/include/linux/lockdep.h
==============================================================================
--- stable/11/sys/compat/linuxkpi/common/include/linux/lockdep.h	Sun Feb 25 10:28:06 2018	(r329963)
+++ stable/11/sys/compat/linuxkpi/common/include/linux/lockdep.h	Sun Feb 25 10:28:52 2018	(r329964)
@@ -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-all mailing list