diff options
| author | Josef Karthauser <joe@FreeBSD.org> | 2002-04-08 18:13:21 +0000 |
|---|---|---|
| committer | Josef Karthauser <joe@FreeBSD.org> | 2002-04-08 18:13:21 +0000 |
| commit | 0ad441b80d5b66d63ceaff21fdaae23a443b79f4 (patch) | |
| tree | 1986d8920be9830b3b90070478c4a30601d309cd /sys/dev/usb/usb.c | |
| parent | 66002be3e8b684054ce7631a6be730883b901894 (diff) | |
Notes
Diffstat (limited to 'sys/dev/usb/usb.c')
| -rw-r--r-- | sys/dev/usb/usb.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/usb/usb.c b/sys/dev/usb/usb.c index 7c176a0fe2a0..94bc3a22fe78 100644 --- a/sys/dev/usb/usb.c +++ b/sys/dev/usb/usb.c @@ -425,6 +425,10 @@ usb_task_thread(void *arg) struct usb_task *task; int s; +#ifdef __FreeBSD__ + mtx_lock(&Giant); +#endif + DPRINTF(("usb_task_thread: start\n")); s = splusb(); |
