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
-  Lines: 18
-  Date:
2004-02-18 05:36:31.000000000 -0800
-  Orig file: 
linux-2.4.24/drivers/usb/host/sl811.c
-  Orig date: 
2003-11-28 10:26:20.000000000 -0800
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)