Lock down Giant in the usb_task_thread() kthread.

This commit is contained in:
joe 2002-04-08 18:13:21 +00:00
parent 24d66592ac
commit f019bd5b7c

View File

@ -425,6 +425,10 @@ usb_task_thread(void *arg)
struct usb_task *task; struct usb_task *task;
int s; int s;
#ifdef __FreeBSD__
mtx_lock(&Giant);
#endif
DPRINTF(("usb_task_thread: start\n")); DPRINTF(("usb_task_thread: start\n"));
s = splusb(); s = splusb();