dma-mapping: move the PCI P2PDMA mapping helpers to pci-p2pdma.h
To support the upcoming non-scatterlist mapping helpers, we need to go back to have them called outside of the DMA API. Thus move them out of dma-map-ops.h, which is only for DMA API implementations to pci-p2pdma.h, which is for driver use. Note that the core helper is still not exported as the mapping is expected to be done only by very highlevel subsystem code at least for now. Signed-off-by:Christoph Hellwig <hch@lst.de> Reviewed-by:
Logan Gunthorpe <logang@deltatee.com> Acked-by:
Bjorn Helgaas <bhelgaas@google.com> Tested-by:
Jens Axboe <axboe@kernel.dk> Reviewed-by:
Luis Chamberlain <mcgrof@kernel.org> Reviewed-by:
Lu Baolu <baolu.lu@linux.intel.com> Signed-off-by:
Leon Romanovsky <leonro@nvidia.com> Signed-off-by:
Marek Szyprowski <m.szyprowski@samsung.com>
Loading
Please sign in to comment