From 9342e91df4a806cfd8bdf1bdabd73eab5c7a56db Mon Sep 17 00:00:00 2001 From: Martin Pieuchot Date: Tue, 31 Dec 2019 10:05:34 +0000 Subject: Convert infinite sleeps to {m,t}sleep_nsec(9). ok kn@ --- sys/dev/ic/i82365.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/dev/ic/i82365.c') 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); -- cgit v1.2.3