diff options
author | Christoph Hellwig <hch@lst.de> | 2019-09-02 11:44:19 +0300 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2019-09-11 13:43:16 +0300 |
commit | 8e23c82c68635a8859820bc6feb0fb3798aed943 (patch) | |
tree | 7e42707e498229b72b89d6f782eef6ddb7051f5e /arch/arm/include/asm/device.h | |
parent | 78406ff566ecd72021928217908ca255406bd914 (diff) | |
download | linux-8e23c82c68635a8859820bc6feb0fb3798aed943.tar.xz |
xen/arm: use dma-noncoherent.h calls for xen-swiotlb cache maintainance
Copy the arm64 code that uses the dma-direct/swiotlb helpers for DMA
on-coherent devices.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
Diffstat (limited to 'arch/arm/include/asm/device.h')
-rw-r--r-- | arch/arm/include/asm/device.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/arm/include/asm/device.h b/arch/arm/include/asm/device.h index f6955b55c544..c675bc0d5aa8 100644 --- a/arch/arm/include/asm/device.h +++ b/arch/arm/include/asm/device.h @@ -15,9 +15,6 @@ struct dev_archdata { #ifdef CONFIG_ARM_DMA_USE_IOMMU struct dma_iommu_mapping *mapping; #endif -#ifdef CONFIG_XEN - const struct dma_map_ops *dev_dma_ops; -#endif unsigned int dma_coherent:1; unsigned int dma_ops_setup:1; }; |