aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/intr_remapping.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pci/intr_remapping.c')
-rw-r--r--drivers/pci/intr_remapping.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/pci/intr_remapping.c b/drivers/pci/intr_remapping.c
index 0ed78a764ded..fccf0e2fcba3 100644
--- a/drivers/pci/intr_remapping.c
+++ b/drivers/pci/intr_remapping.c
@@ -548,7 +548,8 @@ static int setup_intr_remapping(struct intel_iommu *iommu, int mode)
548 if (!iommu->ir_table) 548 if (!iommu->ir_table)
549 return -ENOMEM; 549 return -ENOMEM;
550 550
551 pages = alloc_pages(GFP_ATOMIC | __GFP_ZERO, INTR_REMAP_PAGE_ORDER); 551 pages = alloc_pages_node(iommu->node, GFP_ATOMIC | __GFP_ZERO,
552 INTR_REMAP_PAGE_ORDER);
552 553
553 if (!pages) { 554 if (!pages) {
554 printk(KERN_ERR "failed to allocate pages of order %d\n", 555 printk(KERN_ERR "failed to allocate pages of order %d\n",