PERFORCE change 150195 for review
Hans Petter Selasky
hselasky at FreeBSD.org
Sun Sep 21 08:14:35 UTC 2008
http://perforce.freebsd.org/chv.cgi?CH=150195
Change 150195 by hselasky at hselasky_laptop001 on 2008/09/21 08:13:42
"usb2_proc_mwait()" should not be called locked.
Affected files ...
.. //depot/projects/usb/src/sys/dev/usb2/controller/usb2_controller.c#13 edit
Differences ...
==== //depot/projects/usb/src/sys/dev/usb2/controller/usb2_controller.c#13 (text+ko) ====
@@ -149,13 +149,13 @@
&bus->detach_msg[0], &bus->detach_msg[1])) {
/* ignore */
}
- mtx_unlock(&bus->mtx);
-
/* Wait for detach to complete */
usb2_proc_mwait(&bus->explore_proc,
&bus->detach_msg[0], &bus->detach_msg[1]);
+ mtx_unlock(&bus->mtx);
+
/* Get rid of USB explore process */
usb2_proc_unsetup(&bus->explore_proc);
More information about the p4-projects
mailing list