sparc: remove the sparc32_dma_ops indirection
There is no good reason to have a double indirection for the sparc32 dma ops, so remove the sparc32_dma_ops and define separate dma_map_ops instance for the different IOMMU types. Signed-off-by:Christoph Hellwig <hch@lst.de> Acked-by:
David S. Miller <davem@davemloft.net>
Showing
- arch/sparc/include/asm/dma.h 2 additions, 46 deletionsarch/sparc/include/asm/dma.h
- arch/sparc/kernel/ioport.c 3 additions, 121 deletionsarch/sparc/kernel/ioport.c
- arch/sparc/mm/io-unit.c 47 additions, 18 deletionsarch/sparc/mm/io-unit.c
- arch/sparc/mm/iommu.c 86 additions, 51 deletionsarch/sparc/mm/iommu.c
Loading
Please register or sign in to comment