diff options
author | 2002-06-08 18:52:45 +0000 | |
---|---|---|
committer | 2002-06-08 18:52:45 +0000 | |
commit | cfac768bd2873e8e74d824bc9caaca7b87e98a70 (patch) | |
tree | 9dd3a979d345567189fcf33391ce018bbd159a73 | |
parent | Use tsleep instead of sleep. (diff) | |
download | wireguard-openbsd-cfac768bd2873e8e74d824bc9caaca7b87e98a70.tar.xz wireguard-openbsd-cfac768bd2873e8e74d824bc9caaca7b87e98a70.zip |
Use tsleep.
-rw-r--r-- | sys/arch/sparc/dev/xd.c | 6 | ||||
-rw-r--r-- | sys/arch/sparc/dev/xy.c | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/sys/arch/sparc/dev/xd.c b/sys/arch/sparc/dev/xd.c index 4a6ab84f39a..68b8e1b19bc 100644 --- a/sys/arch/sparc/dev/xd.c +++ b/sys/arch/sparc/dev/xd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: xd.c,v 1.23 2002/05/29 08:28:36 art Exp $ */ +/* $OpenBSD: xd.c,v 1.24 2002/06/08 18:52:45 art Exp $ */ /* $NetBSD: xd.c,v 1.37 1997/07/29 09:58:16 fair Exp $ */ /* @@ -1523,7 +1523,7 @@ xdc_submit_iorq(xdcsc, iorqno, type) return XD_ERR_AOK; /* success */ case XD_SUB_WAIT: while (iorq->iopb->done == 0) { - sleep(iorq, PRIBIO); + tsleep(iorq, PRIBIO, "xdiorq", 0); } return (iorq->errno); case XD_SUB_POLL: @@ -1555,7 +1555,7 @@ xdc_submit_iorq(xdcsc, iorqno, type) return (XD_ERR_AOK); /* success */ case XD_SUB_WAIT: while (iorq->iopb->done == 0) { - sleep(iorq, PRIBIO); + tsleep(iorq, PRIBIO, "xdiorq", 0); } return (iorq->errno); case XD_SUB_POLL: diff --git a/sys/arch/sparc/dev/xy.c b/sys/arch/sparc/dev/xy.c index ed8dc58d41b..1d943ebcb7a 100644 --- a/sys/arch/sparc/dev/xy.c +++ b/sys/arch/sparc/dev/xy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: xy.c,v 1.20 2002/05/29 08:28:36 art Exp $ */ +/* $OpenBSD: xy.c,v 1.21 2002/06/08 18:52:45 art Exp $ */ /* $NetBSD: xy.c,v 1.26 1997/07/19 21:43:56 pk Exp $ */ /* @@ -1374,7 +1374,7 @@ xyc_submit_iorq(xycsc, iorq, type) return XY_ERR_AOK; /* success */ case XY_SUB_WAIT: while (iorq->iopb->done == 0) { - sleep(iorq, PRIBIO); + tsleep(iorq, PRIBIO, "xyiorq", 0); } return (iorq->errno); case XY_SUB_POLL: /* steal controller */ @@ -1406,7 +1406,7 @@ xyc_submit_iorq(xycsc, iorq, type) return (XY_ERR_AOK); /* success */ case XY_SUB_WAIT: while (iorq->iopb->done == 0) { - sleep(iorq, PRIBIO); + tsleep(iorq, PRIBIO, "xyiorq", 0); } return (iorq->errno); case XY_SUB_POLL: |