diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2019-12-31 10:05:34 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2019-12-31 10:05:34 +0000 |
commit | 9342e91df4a806cfd8bdf1bdabd73eab5c7a56db (patch) | |
tree | 5e831ba5086ad8aadd757e8497ff9fd18e72b601 /sys/dev/ic/i82365.c | |
parent | 6716328d3f8e7e5092b5ad41628a56775d32e1be (diff) |
Convert infinite sleeps to {m,t}sleep_nsec(9).
ok kn@
Diffstat (limited to 'sys/dev/ic/i82365.c')
-rw-r--r-- | sys/dev/ic/i82365.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/i82365.c b/sys/dev/ic/i82365.c index f8cf68ccdc5..c35035ea941 100644 --- a/sys/dev/ic/i82365.c +++ b/sys/dev/ic/i82365.c @@ -1,4 +1,4 @@ -/* $OpenBSD: i82365.c,v 1.36 2017/09/08 05:36:52 deraadt Exp $ */ +/* $OpenBSD: i82365.c,v 1.37 2019/12/31 10:05:32 mpi Exp $ */ /* $NetBSD: i82365.c,v 1.10 1998/06/09 07:36:55 thorpej Exp $ */ /* @@ -424,7 +424,7 @@ pcic_event_thread(arg) s = splhigh(); if ((pe = SIMPLEQ_FIRST(&h->events)) == NULL) { splx(s); - (void) tsleep(&h->events, PWAIT, "pcicev", 0); + tsleep_nsec(&h->events, PWAIT, "pcicev", INFSLP); continue; } else { splx(s); |