Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/nick-nhusb]: src/sys/dev/usb Another tsleep bites the dust
details: https://anonhg.NetBSD.org/src/rev/3b9f310c06c3
branches: nick-nhusb
changeset: 334615:3b9f310c06c3
user: skrll <skrll%NetBSD.org@localhost>
date: Sun Jan 29 09:55:21 2017 +0000
description:
Another tsleep bites the dust
diffstat:
sys/dev/usb/uyurex.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r bc6f1169af2d -r 3b9f310c06c3 sys/dev/usb/uyurex.c
--- a/sys/dev/usb/uyurex.c Sat Jan 28 12:12:19 2017 +0000
+++ b/sys/dev/usb/uyurex.c Sun Jan 29 09:55:21 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: uyurex.c,v 1.9.14.9 2017/01/28 10:15:01 skrll Exp $ */
+/* $NetBSD: uyurex.c,v 1.9.14.10 2017/01/29 09:55:21 skrll Exp $ */
/* $OpenBSD: uyurex.c,v 1.3 2010/03/04 03:47:22 deraadt Exp $ */
/*
@@ -22,7 +22,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uyurex.c,v 1.9.14.9 2017/01/28 10:15:01 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uyurex.c,v 1.9.14.10 2017/01/29 09:55:21 skrll Exp $");
#ifdef _KERNEL_OPT
#include "opt_usb.h"
@@ -341,7 +341,7 @@
}
/* wait ack */
- tsleep(&sc->sc_sme, 0, "uyurex", (1000*hz+999)/1000 + 1);
+ kpause("uyurexsm", false, (1000*hz+999)/1000 + 1, NULL);
}
void
Home |
Main Index |
Thread Index |
Old Index