Module Name: src
Committed By: hannken
Date: Sun May 24 10:42:28 UTC 2020
Modified Files:
src/sys/arch/atari/dev: event_var.h
src/sys/dev/sun: event_var.h
Log Message:
Change proc_lock -> &proc_lock.
To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/atari/dev/event_var.h
cvs rdiff -u -r1.13 -r1.14 src/sys/dev/sun/event_var.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/arch/atari/dev/event_var.h
diff -u src/sys/arch/atari/dev/event_var.h:1.9 src/sys/arch/atari/dev/event_var.h:1.10
--- src/sys/arch/atari/dev/event_var.h:1.9 Sat Mar 29 16:46:19 2014
+++ src/sys/arch/atari/dev/event_var.h Sun May 24 10:42:27 2020
@@ -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 @@ struct evvar {
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); \
} \
}
Index: src/sys/dev/sun/event_var.h
diff -u src/sys/dev/sun/event_var.h:1.13 src/sys/dev/sun/event_var.h:1.14
--- src/sys/dev/sun/event_var.h:1.13 Thu Apr 24 15:35:28 2008
+++ src/sys/dev/sun/event_var.h Sun May 24 10:42:28 2020
@@ -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 @@ struct evvar {
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); \
} \
}