Change proc_lock -> &proc_lock.

This commit is contained in:
hannken 2020-05-24 10:42:27 +00:00
parent 9a85d7338d
commit 555a6dbc47
2 changed files with 6 additions and 6 deletions

View File

@ -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); \
} \
}

View File

@ -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); \
} \
}