patch-2.4.25 linux-2.4.25/drivers/usb/host/usb-ohci.c

Next file: linux-2.4.25/drivers/usb/host/usb-ohci.h
Previous file: linux-2.4.25/drivers/usb/host/sl811.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.24/drivers/usb/host/usb-ohci.c linux-2.4.25/drivers/usb/host/usb-ohci.c
@@ -628,7 +628,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);
+							in_interrupt() ? GFP_ATOMIC : GFP_NOIO);
 	if (!urb_priv) {
 		usb_dec_dev_use (urb->dev);	
 		return -ENOMEM;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)