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/linux Make gc static. No need to use ...



details:   https://anonhg.NetBSD.org/src/rev/237a00e0f6f0
branches:  trunk
changeset: 992951:237a00e0f6f0
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Mon Aug 27 14:14:54 2018 +0000

description:
Make gc static.  No need to use this private state elsewhere.

diffstat:

 sys/external/bsd/drm2/linux/linux_rcu.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 727945f950d4 -r 237a00e0f6f0 sys/external/bsd/drm2/linux/linux_rcu.c
--- a/sys/external/bsd/drm2/linux/linux_rcu.c   Mon Aug 27 14:14:42 2018 +0000
+++ b/sys/external/bsd/drm2/linux/linux_rcu.c   Mon Aug 27 14:14:54 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: linux_rcu.c,v 1.2 2018/08/27 13:39:48 riastradh Exp $  */
+/*     $NetBSD: linux_rcu.c,v 1.3 2018/08/27 14:14:54 riastradh Exp $  */
 
 /*-
  * Copyright (c) 2018 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_rcu.c,v 1.2 2018/08/27 13:39:48 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_rcu.c,v 1.3 2018/08/27 14:14:54 riastradh Exp $");
 
 #include <sys/types.h>
 #include <sys/condvar.h>
@@ -40,7 +40,7 @@
 
 #include <linux/rcupdate.h>
 
-struct {
+static struct {
        kmutex_t        lock;
        kcondvar_t      cv;
        struct rcu_head *first;



Home | Main Index | Thread Index | Old Index