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/pci/mpii.c | |
parent | 6716328d3f8e7e5092b5ad41628a56775d32e1be (diff) |
Convert infinite sleeps to {m,t}sleep_nsec(9).
ok kn@
Diffstat (limited to 'sys/dev/pci/mpii.c')
-rw-r--r-- | sys/dev/pci/mpii.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/mpii.c b/sys/dev/pci/mpii.c index 9a69902c80a..52777f6c326 100644 --- a/sys/dev/pci/mpii.c +++ b/sys/dev/pci/mpii.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mpii.c,v 1.123 2019/12/29 21:30:21 kn Exp $ */ +/* $OpenBSD: mpii.c,v 1.124 2019/12/31 10:05:33 mpi Exp $ */ /* * Copyright (c) 2010, 2012 Mike Belopuhov * Copyright (c) 2009 James Giannoules @@ -2876,7 +2876,7 @@ mpii_wait(struct mpii_softc *sc, struct mpii_ccb *ccb) mtx_enter(&mtx); while (ccb->ccb_cookie != NULL) - msleep(ccb, &mtx, PRIBIO, "mpiiwait", 0); + msleep_nsec(ccb, &mtx, PRIBIO, "mpiiwait", INFSLP); mtx_leave(&mtx); ccb->ccb_cookie = cookie; |