diff options
-rw-r--r-- | arch/powerpc/kernel/iommu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/iommu.c b/arch/powerpc/kernel/iommu.c index cbb794556d02..cef8cba8329b 100644 --- a/arch/powerpc/kernel/iommu.c +++ b/arch/powerpc/kernel/iommu.c | |||
@@ -561,7 +561,7 @@ void *iommu_alloc_coherent(struct iommu_table *tbl, size_t size, | |||
561 | return NULL; | 561 | return NULL; |
562 | 562 | ||
563 | /* Alloc enough pages (and possibly more) */ | 563 | /* Alloc enough pages (and possibly more) */ |
564 | page = alloc_pages_node(flag, order, node); | 564 | page = alloc_pages_node(node, flag, order); |
565 | if (!page) | 565 | if (!page) |
566 | return NULL; | 566 | return NULL; |
567 | ret = page_address(page); | 567 | ret = page_address(page); |