summaryrefslogtreecommitdiffstats
path: root/include/xen
diff options
context:
space:
mode:
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>2013-10-09 16:56:33 +0000
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>2013-10-09 16:56:33 +0000
commiteb1ddc00b81cb8cb23891b6c7c5fbfaea29f3c73 (patch)
tree19cef10472e84e085d51068fdff191749c829a78 /include/xen
parent83862ccfc0a03212fde43b4ac29c28381828768b (diff)
downloadop-kernel-dev-eb1ddc00b81cb8cb23891b6c7c5fbfaea29f3c73.zip
op-kernel-dev-eb1ddc00b81cb8cb23891b6c7c5fbfaea29f3c73.tar.gz
swiotlb-xen: introduce xen_swiotlb_set_dma_mask
Implement xen_swiotlb_set_dma_mask, use it for set_dma_mask on arm. Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Diffstat (limited to 'include/xen')
-rw-r--r--include/xen/swiotlb-xen.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/xen/swiotlb-xen.h b/include/xen/swiotlb-xen.h
index de8bcc6..7b64465 100644
--- a/include/xen/swiotlb-xen.h
+++ b/include/xen/swiotlb-xen.h
@@ -55,4 +55,6 @@ xen_swiotlb_dma_mapping_error(struct device *hwdev, dma_addr_t dma_addr);
extern int
xen_swiotlb_dma_supported(struct device *hwdev, u64 mask);
+extern int
+xen_swiotlb_set_dma_mask(struct device *dev, u64 dma_mask);
#endif /* __LINUX_SWIOTLB_XEN_H */
OpenPOWER on IntegriCloud