manual update from upstream:
[linux-2.6.git] / include / asm-x86_64 / swiotlb.h
index 9b011dd8d19d0fbbb2e7bd24b877f82b5e1039e1..dddf1b218681a442c0d3331c5069fb16af17a16a 100644 (file)
@@ -35,7 +35,7 @@ extern void swiotlb_unmap_sg(struct device *hwdev, struct scatterlist *sg,
                         int nents, int direction);
 extern int swiotlb_dma_mapping_error(dma_addr_t dma_addr);
 extern void *swiotlb_alloc_coherent (struct device *hwdev, size_t size,
-                                    dma_addr_t *dma_handle, int flags);
+                                    dma_addr_t *dma_handle, gfp_t flags);
 extern void swiotlb_free_coherent (struct device *hwdev, size_t size,
                                   void *vaddr, dma_addr_t dma_handle);