Message ID | 1442337067-22964-16-git-send-email-wdavis@nvidia.com |
---|---|
State | Changes Requested |
Headers | show |
diff --git a/arch/x86/xen/pci-swiotlb-xen.c b/arch/x86/xen/pci-swiotlb-xen.c index 0e98e5d..84a9285 100644 --- a/arch/x86/xen/pci-swiotlb-xen.c +++ b/arch/x86/xen/pci-swiotlb-xen.c @@ -30,6 +30,9 @@ static struct dma_map_ops xen_swiotlb_dma_ops = { .unmap_sg = xen_swiotlb_unmap_sg_attrs, .map_page = xen_swiotlb_map_page, .unmap_page = xen_swiotlb_unmap_page, +#ifdef CONFIG_HAS_DMA_P2P + .map_peer_resource = xen_swiotlb_map_peer_resource, +#endif .dma_supported = xen_swiotlb_dma_supported, };
Only available if CONFIG_HAS_DMA_P2P is set. Signed-off-by: Will Davis <wdavis@nvidia.com> --- arch/x86/xen/pci-swiotlb-xen.c | 3 +++ 1 file changed, 3 insertions(+)