aboutsummaryrefslogtreecommitdiffstats
path: root/include/xen/swiotlb-xen.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/xen/swiotlb-xen.h')
-rw-r--r--include/xen/swiotlb-xen.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/include/xen/swiotlb-xen.h b/include/xen/swiotlb-xen.h
index 4f4d449f00f6..de8bcc641c49 100644
--- a/include/xen/swiotlb-xen.h
+++ b/include/xen/swiotlb-xen.h
@@ -3,7 +3,7 @@
3 3
4#include <linux/swiotlb.h> 4#include <linux/swiotlb.h>
5 5
6extern void xen_swiotlb_init(int verbose); 6extern int xen_swiotlb_init(int verbose, bool early);
7 7
8extern void 8extern void
9*xen_swiotlb_alloc_coherent(struct device *hwdev, size_t size, 9*xen_swiotlb_alloc_coherent(struct device *hwdev, size_t size,
@@ -23,15 +23,6 @@ extern dma_addr_t xen_swiotlb_map_page(struct device *dev, struct page *page,
23extern void xen_swiotlb_unmap_page(struct device *hwdev, dma_addr_t dev_addr, 23extern void xen_swiotlb_unmap_page(struct device *hwdev, dma_addr_t dev_addr,
24 size_t size, enum dma_data_direction dir, 24 size_t size, enum dma_data_direction dir,
25 struct dma_attrs *attrs); 25 struct dma_attrs *attrs);
26/*
27extern int
28xen_swiotlb_map_sg(struct device *hwdev, struct scatterlist *sg, int nents,
29 enum dma_data_direction dir);
30
31extern void
32xen_swiotlb_unmap_sg(struct device *hwdev, struct scatterlist *sg, int nents,
33 enum dma_data_direction dir);
34*/
35extern int 26extern int
36xen_swiotlb_map_sg_attrs(struct device *hwdev, struct scatterlist *sgl, 27xen_swiotlb_map_sg_attrs(struct device *hwdev, struct scatterlist *sgl,
37 int nelems, enum dma_data_direction dir, 28 int nelems, enum dma_data_direction dir,