diff options
Diffstat (limited to 'drivers/acpi')
-rw-r--r-- | drivers/acpi/pci_link.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/pci_link.c b/drivers/acpi/pci_link.c index 82292b77e5c6..78927c0f1551 100644 --- a/drivers/acpi/pci_link.c +++ b/drivers/acpi/pci_link.c | |||
@@ -316,7 +316,7 @@ static int acpi_pci_link_set(struct acpi_pci_link *link, int irq) | |||
316 | if (!link || !irq) | 316 | if (!link || !irq) |
317 | return_VALUE(-EINVAL); | 317 | return_VALUE(-EINVAL); |
318 | 318 | ||
319 | resource = kmalloc(sizeof(*resource) + 1, GFP_KERNEL); | 319 | resource = kmalloc(sizeof(*resource) + 1, GFP_ATOMIC); |
320 | if (!resource) | 320 | if (!resource) |
321 | return_VALUE(-ENOMEM); | 321 | return_VALUE(-ENOMEM); |
322 | 322 | ||