diff options
Diffstat (limited to 'drivers/pci/controller/pci-hyperv.c')
-rw-r--r-- | drivers/pci/controller/pci-hyperv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/controller/pci-hyperv.c b/drivers/pci/controller/pci-hyperv.c index d4d4a55f09f8..c00f82cc54aa 100644 --- a/drivers/pci/controller/pci-hyperv.c +++ b/drivers/pci/controller/pci-hyperv.c | |||
@@ -1546,7 +1546,7 @@ static struct hv_pci_dev *new_pcichild_device(struct hv_pcibus_device *hbus, | |||
1546 | unsigned long flags; | 1546 | unsigned long flags; |
1547 | int ret; | 1547 | int ret; |
1548 | 1548 | ||
1549 | hpdev = kzalloc(sizeof(*hpdev), GFP_ATOMIC); | 1549 | hpdev = kzalloc(sizeof(*hpdev), GFP_KERNEL); |
1550 | if (!hpdev) | 1550 | if (!hpdev) |
1551 | return NULL; | 1551 | return NULL; |
1552 | 1552 | ||