|
@@ -240,7 +240,7 @@ static int xhci_setup_msix(struct xhci_hcd *xhci)
|
|
|
|
|
|
xhci->msix_entries =
|
|
xhci->msix_entries =
|
|
kmalloc((sizeof(struct msix_entry))*xhci->msix_count,
|
|
kmalloc((sizeof(struct msix_entry))*xhci->msix_count,
|
|
- GFP_ATOMIC);
|
|
|
|
|
|
+ GFP_KERNEL);
|
|
if (!xhci->msix_entries) {
|
|
if (!xhci->msix_entries) {
|
|
xhci_err(xhci, "Failed to allocate MSI-X entries\n");
|
|
xhci_err(xhci, "Failed to allocate MSI-X entries\n");
|
|
return -ENOMEM;
|
|
return -ENOMEM;
|