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

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

diff -urN linux-2.4.24/drivers/usb/host/sl811.c linux-2.4.25/drivers/usb/host/sl811.c
@@ -652,7 +652,7 @@
 {
 	struct sl811_urb_priv *urbp;
 	
-	urbp = kmalloc(sizeof(*urbp), GFP_KERNEL);
+	urbp = kmalloc(sizeof(*urbp), GFP_ATOMIC);
 	if (!urbp)
 		return NULL;
 	
@@ -763,7 +763,7 @@
 	struct sl811_urb_priv *urbp = urb->hcpriv;
 	struct sl811_td *td;
 	
-	td = kmalloc(sizeof (*td), GFP_KERNEL);
+	td = kmalloc(sizeof (*td), GFP_ATOMIC);
 	if (!td)
 		return NULL;
 	

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