Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/external/bsd/drm2/include/linux Define RCU_INIT_POINTER.



details:   https://anonhg.NetBSD.org/src/rev/fb9ae7d2dd13
branches:  trunk
changeset: 1027929:fb9ae7d2dd13
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Dec 19 01:17:54 2021 +0000

description:
Define RCU_INIT_POINTER.

diffstat:

 sys/external/bsd/drm2/include/linux/rcupdate.h |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 67ac1a52774f -r fb9ae7d2dd13 sys/external/bsd/drm2/include/linux/rcupdate.h
--- a/sys/external/bsd/drm2/include/linux/rcupdate.h    Sun Dec 19 01:17:46 2021 +0000
+++ b/sys/external/bsd/drm2/include/linux/rcupdate.h    Sun Dec 19 01:17:54 2021 +0000
@@ -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);                                                            \



Home | Main Index | Thread Index | Old Index