Hi,
this avoids deadlocks with submitting URBs with storage and
with spinlocks held.
Regards
Oliver
--- usb-ohci.c.alt Sat Dec 1 20:41:47 2001
+++ usb-ohci.c Wed Dec 12 03:14:49 2001
@@ -614,7 +614,7 @@
/* allocate the private part of the URB */
urb_priv = kmalloc (sizeof (urb_priv_t) + size * sizeof (td_t *),
- in_interrupt() ? GFP_ATOMIC :
GFP_KERNEL);
+ GFP_ATOMIC);
if (!urb_priv) {
usb_dec_dev_use (urb->dev);
return -ENOMEM;
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel