diff options
Diffstat (limited to 'include/xen/swiotlb-xen.h')
-rw-r--r-- | include/xen/swiotlb-xen.h | 11 |
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 | ||
6 | extern void xen_swiotlb_init(int verbose); | 6 | extern int xen_swiotlb_init(int verbose, bool early); |
7 | 7 | ||
8 | extern void | 8 | extern 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, | |||
23 | extern void xen_swiotlb_unmap_page(struct device *hwdev, dma_addr_t dev_addr, | 23 | extern 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 | /* | ||
27 | extern int | ||
28 | xen_swiotlb_map_sg(struct device *hwdev, struct scatterlist *sg, int nents, | ||
29 | enum dma_data_direction dir); | ||
30 | |||
31 | extern void | ||
32 | xen_swiotlb_unmap_sg(struct device *hwdev, struct scatterlist *sg, int nents, | ||
33 | enum dma_data_direction dir); | ||
34 | */ | ||
35 | extern int | 26 | extern int |
36 | xen_swiotlb_map_sg_attrs(struct device *hwdev, struct scatterlist *sgl, | 27 | xen_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, |