On Wed, Jan 10, 2018 at 09:09:15AM +0100, Christoph Hellwig wrote: > We'll need that name for a generic implementation soon. > > Signed-off-by: Christoph Hellwig <[email protected]> Reviewed-by: Konrad Rzeszutek Wilk <[email protected]> > --- > arch/x86/kernel/pci-swiotlb.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/arch/x86/kernel/pci-swiotlb.c b/arch/x86/kernel/pci-swiotlb.c > index 9d3e35c33d94..0d77603c2f50 100644 > --- a/arch/x86/kernel/pci-swiotlb.c > +++ b/arch/x86/kernel/pci-swiotlb.c > @@ -48,7 +48,7 @@ void x86_swiotlb_free_coherent(struct device *dev, size_t > size, > dma_generic_free_coherent(dev, size, vaddr, dma_addr, attrs); > } > > -static const struct dma_map_ops swiotlb_dma_ops = { > +static const struct dma_map_ops x86_swiotlb_dma_ops = { > .mapping_error = swiotlb_dma_mapping_error, > .alloc = x86_swiotlb_alloc_coherent, > .free = x86_swiotlb_free_coherent, > @@ -112,7 +112,7 @@ void __init pci_swiotlb_init(void) > { > if (swiotlb) { > swiotlb_init(0); > - dma_ops = &swiotlb_dma_ops; > + dma_ops = &x86_swiotlb_dma_ops; > } > } > > -- > 2.14.2 > _______________________________________________ iommu mailing list [email protected] https://lists.linuxfoundation.org/mailman/listinfo/iommu
- [PATCH 04/22] powerpc: rename swiotlb_dma_ops Christoph Hellwig
- Re: [PATCH 04/22] powerpc: rename swiotlb_dma_o... Konrad Rzeszutek Wilk
- [PATCH 21/22] arm64: replace ZONE_DMA with ZONE_DMA3... Christoph Hellwig
- Re: [PATCH 21/22] arm64: replace ZONE_DMA with ... Robin Murphy
- Re: [PATCH 21/22] arm64: replace ZONE_DMA w... Christoph Hellwig
- Re: [PATCH 21/22] arm64: replace ZONE_D... Christoph Hellwig
- Re: [PATCH 21/22] arm64: replace ZO... Robin Murphy
- [PATCH 01/22] swiotlb: suppress warning when __GFP_N... Christoph Hellwig
- [PATCH 20/22] mips: use swiotlb_{alloc,free} Christoph Hellwig
- [PATCH 05/22] x86: rename swiotlb_dma_ops Christoph Hellwig
- Re: [PATCH 05/22] x86: rename swiotlb_dma_ops Konrad Rzeszutek Wilk
- [PATCH 10/22] swiotlb: refactor coherent buffer allo... Christoph Hellwig
- Re: [PATCH 10/22] swiotlb: refactor coherent bu... Robin Murphy
- Re: [PATCH 10/22] swiotlb: refactor coheren... Christoph Hellwig
- Re: [PATCH 10/22] swiotlb: refactor coh... Robin Murphy
- Re: [PATCH 10/22] swiotlb: refactor... Christoph Hellwig
- [PATCH 13/22] ia64: use generic swiotlb_ops Christoph Hellwig
- [PATCH 18/22] tile: use generic swiotlb_ops Christoph Hellwig
- [PATCH 15/22] ia64: remove an ifdef around the conte... Christoph Hellwig
- [PATCH 08/22] swiotlb: wire up ->dma_supported in... Christoph Hellwig
- Re: [PATCH 08/22] swiotlb: wire up ->dma_sup... Robin Murphy
