swiotlb-xen: pass dev_addr to swiotlb_tbl_unmap_single
authorStefano Stabellini <[email protected]>
Fri, 21 Nov 2014 16:56:12 +0000 (16:56 +0000)
committerDavid Vrabel <[email protected]>
Thu, 4 Dec 2014 12:41:57 +0000 (12:41 +0000)
commit2c3fc8d26dd09b9d7069687eead849ee81c78e46
tree4da0b86bc3d128fac4be6daabff3fbd99da2b749
parent9490c6c67e2f41760de8ece4e4f56f75f84ceb9e
swiotlb-xen: pass dev_addr to swiotlb_tbl_unmap_single

Need to pass the pointer within the swiotlb internal buffer to the
swiotlb library, that in the case of xen_unmap_single is dev_addr, not
paddr.

Signed-off-by: Stefano Stabellini <[email protected]>
Acked-by: Konrad Rzeszutek Wilk <[email protected]>
CC: [email protected]
drivers/xen/swiotlb-xen.c