diff options
author | Christoph Hellwig <hch@lst.de> | 2019-04-11 09:19:59 +0200 |
---|---|---|
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2019-05-02 19:51:47 -0400 |
commit | 2e12dceef3d3fb8d796e384aa242062d1643cad4 (patch) | |
tree | b19dd8bb8c250b2bf0439952dac3ee95a292e8b4 /kernel/dma | |
parent | 8b35d9feed8e4e66dc4048f776c356e26e2a8216 (diff) | |
download | linux-2e12dceef3d3fb8d796e384aa242062d1643cad4.tar.bz2 |
swiotlb-xen: simplify the DMA sync method implementations
Get rid of the grand multiplexer and implement the sync_single_for_cpu
and sync_single_for_device methods directly, and then loop over them
for the scatterlist based variants.
Note that this also loses a few comments related to highlevel DMA API
concepts, which have nothing to do with the swiotlb-xen implementation
details.
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'kernel/dma')
0 files changed, 0 insertions, 0 deletions