commit | 8b35d9feed8e4e66dc4048f776c356e26e2a8216 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Thu Apr 11 09:19:58 2019 +0200 |
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | Thu May 02 19:51:29 2019 -0400 |
tree | 6d32ab8bafd97690a83d22e944ac6bac46e93994 | |
parent | aca351cc4c034b4880f0a0dc3602ed3761ef6f01 [diff] |
swiotlb-xen: use ->map_page to implement ->map_sg We can simply loop over the segments and map them, removing lots of duplicate code. 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>