summaryrefslogtreecommitdiff
path: root/include/xen
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2019-11-07 20:03:11 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-04-05 12:16:43 +0300
commit9690e34f22472898333a35f4d2fd3513e150dbdd (patch)
treeba51d0600ec136810e444462d3e5c52d8952f031 /include/xen
parentf6e2d76aa36255e71466b06520842157d0a5bef5 (diff)
downloadlinux-9690e34f22472898333a35f4d2fd3513e150dbdd.tar.xz
dma-mapping: drop the dev argument to arch_sync_dma_for_*
[ Upstream commit 56e35f9c5b87ec1ae93e483284e189c84388de16 ] These are pure cache maintainance routines, so drop the unused struct device argument. Signed-off-by: Christoph Hellwig <hch@lst.de> Suggested-by: Daniel Vetter <daniel.vetter@ffwll.ch> Stable-dep-of: ab327f8acdf8 ("mips: bmips: BCM6358: disable RAC flush for TP1") Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/xen')
-rw-r--r--include/xen/swiotlb-xen.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/xen/swiotlb-xen.h b/include/xen/swiotlb-xen.h
index d71380f6ed0b..ffc0d3902b71 100644
--- a/include/xen/swiotlb-xen.h
+++ b/include/xen/swiotlb-xen.h
@@ -4,10 +4,10 @@
#include <linux/swiotlb.h>
-void xen_dma_sync_for_cpu(struct device *dev, dma_addr_t handle,
- phys_addr_t paddr, size_t size, enum dma_data_direction dir);
-void xen_dma_sync_for_device(struct device *dev, dma_addr_t handle,
- phys_addr_t paddr, size_t size, enum dma_data_direction dir);
+void xen_dma_sync_for_cpu(dma_addr_t handle, phys_addr_t paddr, size_t size,
+ enum dma_data_direction dir);
+void xen_dma_sync_for_device(dma_addr_t handle, phys_addr_t paddr, size_t size,
+ enum dma_data_direction dir);
extern int xen_swiotlb_init(int verbose, bool early);
extern const struct dma_map_ops xen_swiotlb_dma_ops;