Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/sun Change proc_lock -> &proc_lock.



details:   https://anonhg.NetBSD.org/src/rev/262cb893bf63
branches:  trunk
changeset: 933306:262cb893bf63
user:      hannken <hannken%NetBSD.org@localhost>
date:      Sun May 24 10:42:27 2020 +0000

description:
Change proc_lock -> &proc_lock.

diffstat:

 sys/arch/atari/dev/event_var.h |  6 +++---
 sys/dev/sun/event_var.h        |  6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diffs (42 lines):

diff -r 8aefb5e680ef -r 262cb893bf63 sys/arch/atari/dev/event_var.h
--- a/sys/arch/atari/dev/event_var.h    Sun May 24 10:31:59 2020 +0000
+++ b/sys/arch/atari/dev/event_var.h    Sun May 24 10:42:27 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: event_var.h,v 1.9 2014/03/29 16:46:19 tsutsui Exp $    */
+/*     $NetBSD: event_var.h,v 1.10 2020/05/24 10:42:27 hannken Exp $   */
 
 /*
  * Copyright (c) 1992, 1993
@@ -70,9 +70,9 @@
                wakeup((void *)(ev)); \
        } \
        if ((ev)->ev_async) { \
-               mutex_enter(proc_lock); \
+               mutex_enter(&proc_lock); \
                psignal((ev)->ev_io, SIGIO); \
-               mutex_exit(proc_lock); \
+               mutex_exit(&proc_lock); \
        } \
 }
 
diff -r 8aefb5e680ef -r 262cb893bf63 sys/dev/sun/event_var.h
--- a/sys/dev/sun/event_var.h   Sun May 24 10:31:59 2020 +0000
+++ b/sys/dev/sun/event_var.h   Sun May 24 10:42:27 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: event_var.h,v 1.13 2008/04/24 15:35:28 ad Exp $        */
+/*     $NetBSD: event_var.h,v 1.14 2020/05/24 10:42:28 hannken Exp $   */
 
 /*
  * Copyright (c) 1992, 1993
@@ -69,9 +69,9 @@
                wakeup((void *)(ev)); \
        } \
        if ((ev)->ev_async) { \
-               mutex_enter(proc_lock); \
+               mutex_enter(&proc_lock); \
                psignal((ev)->ev_io, SIGIO); \
-               mutex_exit(proc_lock); \
+               mutex_exit(&proc_lock); \
        } \
 }
 



Home | Main Index | Thread Index | Old Index