X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=include%2Fasm-ppc64%2Fiommu.h;h=c2f3b6e8a42fb8945a10f41cbc009e3f09e31682;hb=c85749e6d1df55ca5b23cb1d220ed7df92df8d78;hp=72dcf8116b04390446c7e1e4c2110f46e5df5962;hpb=ceeec3dc375e3b0618f16b34efc56fe093918f8b;p=powerpc.git diff --git a/include/asm-ppc64/iommu.h b/include/asm-ppc64/iommu.h index 72dcf8116b..c2f3b6e8a4 100644 --- a/include/asm-ppc64/iommu.h +++ b/include/asm-ppc64/iommu.h @@ -122,7 +122,7 @@ extern void iommu_unmap_sg(struct iommu_table *tbl, struct scatterlist *sglist, int nelems, enum dma_data_direction direction); extern void *iommu_alloc_coherent(struct iommu_table *tbl, size_t size, - dma_addr_t *dma_handle, unsigned int __nocast flag); + dma_addr_t *dma_handle, gfp_t flag); extern void iommu_free_coherent(struct iommu_table *tbl, size_t size, void *vaddr, dma_addr_t dma_handle); extern dma_addr_t iommu_map_single(struct iommu_table *tbl, void *vaddr,