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

Hans Petter Selasky hselasky at FreeBSD.org
Tue Sep 3 14:06:40 UTC 2019


Author: hselasky
Date: Fri Apr  5 11:29:05 2019
New Revision: 345934
URL: https://svnweb.freebsd.org/changeset/base/345934

Log:
  MFC r345106:
  Define some RCU debug macros in the LinuxKPI.
  
  Submitted by:		Johannes Lundberg <johalun0 at gmail.com>
  Sponsored by:		Limelight Networks
  Sponsored by:		Mellanox Technologies

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

Modified: stable/11/sys/compat/linuxkpi/common/include/linux/rcupdate.h
==============================================================================
--- stable/11/sys/compat/linuxkpi/common/include/linux/rcupdate.h	Fri Apr  5 11:28:50 2019	(r345933)
+++ stable/11/sys/compat/linuxkpi/common/include/linux/rcupdate.h	Fri Apr  5 11:29:05 2019	(r345934)
@@ -100,4 +100,10 @@ extern void linux_rcu_read_lock(void);
 extern void linux_rcu_read_unlock(void);
 extern void linux_synchronize_rcu(void);
 
+/* Empty implementation for !DEBUG */
+#define	init_rcu_head(...)
+#define	destroy_rcu_head(...)
+#define	init_rcu_head_on_stack(...)
+#define	destroy_rcu_head_on_stack(...)
+
 #endif					/* _LINUX_RCUPDATE_H_ */




More information about the svn-src-all mailing list