Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Apr 2019 11:28:50 +0000 (UTC)
From:      Hans Petter Selasky <hselasky@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r345933 - stable/12/sys/compat/linuxkpi/common/include/linux
Message-ID:  <201904051128.x35BSoaI008237@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: hselasky
Date: Fri Apr  5 11:28:50 2019
New Revision: 345933
URL: https://svnweb.freebsd.org/changeset/base/345933

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

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

Modified: stable/12/sys/compat/linuxkpi/common/include/linux/rcupdate.h
==============================================================================
--- stable/12/sys/compat/linuxkpi/common/include/linux/rcupdate.h	Fri Apr  5 11:27:48 2019	(r345932)
+++ stable/12/sys/compat/linuxkpi/common/include/linux/rcupdate.h	Fri Apr  5 11:28:50 2019	(r345933)
@@ -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_ */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201904051128.x35BSoaI008237>