svn commit: r361924 - stable/11/sys/compat/linuxkpi/common/include/linux
Hans Petter Selasky
hselasky at FreeBSD.org
Mon Jun 8 09:39:16 UTC 2020
Author: hselasky
Date: Mon Jun 8 09:39:16 2020
New Revision: 361924
URL: https://svnweb.freebsd.org/changeset/base/361924
Log:
MFC r361110:
Implement synchronize_srcu_expedited() in the LinuxKPI.
Differential Revision: https://reviews.freebsd.org/D24798
Sponsored by: Mellanox Technologies
Modified:
stable/11/sys/compat/linuxkpi/common/include/linux/srcu.h
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/sys/compat/linuxkpi/common/include/linux/srcu.h
==============================================================================
--- stable/11/sys/compat/linuxkpi/common/include/linux/srcu.h Mon Jun 8 09:37:20 2020 (r361923)
+++ stable/11/sys/compat/linuxkpi/common/include/linux/srcu.h Mon Jun 8 09:39:16 2020 (r361924)
@@ -49,4 +49,8 @@ extern void srcu_barrier(struct srcu_struct *);
extern int init_srcu_struct(struct srcu_struct *);
extern void cleanup_srcu_struct(struct srcu_struct *);
+#define synchronize_srcu_expedited(srcu) do { \
+ synchronize_srcu(srcu); \
+} while (0)
+
#endif /* _LINUX_SRCU_H_ */
More information about the svn-src-all
mailing list