Module Name: src Committed By: riastradh Date: Sun Dec 19 01:17:54 UTC 2021
Modified Files: src/sys/external/bsd/drm2/include/linux: rcupdate.h Log Message: Define RCU_INIT_POINTER. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/sys/external/bsd/drm2/include/linux/rcupdate.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/external/bsd/drm2/include/linux/rcupdate.h diff -u src/sys/external/bsd/drm2/include/linux/rcupdate.h:1.7 src/sys/external/bsd/drm2/include/linux/rcupdate.h:1.8 --- src/sys/external/bsd/drm2/include/linux/rcupdate.h:1.7 Mon Aug 27 13:55:12 2018 +++ src/sys/external/bsd/drm2/include/linux/rcupdate.h Sun Dec 19 01:17:54 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: rcupdate.h,v 1.7 2018/08/27 13:55:12 riastradh Exp $ */ +/* $NetBSD: rcupdate.h,v 1.8 2021/12/19 01:17:54 riastradh Exp $ */ /*- * Copyright (c) 2018 The NetBSD Foundation, Inc. @@ -38,6 +38,8 @@ #define __rcu +#define RCU_INIT_POINTER(P, V) ((P) = (V)) + #define rcu_assign_pointer(P, V) do { \ membar_producer(); \ (P) = (V); \