aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/xen/swiotlb-xen.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/xen/swiotlb-xen.c')
-rw-r--r--drivers/xen/swiotlb-xen.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/drivers/xen/swiotlb-xen.c b/drivers/xen/swiotlb-xen.c
index a52f3ae05d94..29e8cd48180f 100644
--- a/drivers/xen/swiotlb-xen.c
+++ b/drivers/xen/swiotlb-xen.c
@@ -466,14 +466,6 @@ xen_swiotlb_map_sg_attrs(struct device *hwdev, struct scatterlist *sgl,
466} 466}
467EXPORT_SYMBOL_GPL(xen_swiotlb_map_sg_attrs); 467EXPORT_SYMBOL_GPL(xen_swiotlb_map_sg_attrs);
468 468
469int
470xen_swiotlb_map_sg(struct device *hwdev, struct scatterlist *sgl, int nelems,
471 enum dma_data_direction dir)
472{
473 return xen_swiotlb_map_sg_attrs(hwdev, sgl, nelems, dir, NULL);
474}
475EXPORT_SYMBOL_GPL(xen_swiotlb_map_sg);
476
477/* 469/*
478 * Unmap a set of streaming mode DMA translations. Again, cpu read rules 470 * Unmap a set of streaming mode DMA translations. Again, cpu read rules
479 * concerning calls here are the same as for swiotlb_unmap_page() above. 471 * concerning calls here are the same as for swiotlb_unmap_page() above.
@@ -494,14 +486,6 @@ xen_swiotlb_unmap_sg_attrs(struct device *hwdev, struct scatterlist *sgl,
494} 486}
495EXPORT_SYMBOL_GPL(xen_swiotlb_unmap_sg_attrs); 487EXPORT_SYMBOL_GPL(xen_swiotlb_unmap_sg_attrs);
496 488
497void
498xen_swiotlb_unmap_sg(struct device *hwdev, struct scatterlist *sgl, int nelems,
499 enum dma_data_direction dir)
500{
501 return xen_swiotlb_unmap_sg_attrs(hwdev, sgl, nelems, dir, NULL);
502}
503EXPORT_SYMBOL_GPL(xen_swiotlb_unmap_sg);
504
505/* 489/*
506 * Make physical memory consistent for a set of streaming mode DMA translations 490 * Make physical memory consistent for a set of streaming mode DMA translations
507 * after a transfer. 491 * after a transfer.