Message ID | 1442337067-22964-13-git-send-email-wdavis@nvidia.com |
---|---|
State | Changes Requested |
Headers | show |
diff --git a/arch/x86/kernel/pci-swiotlb.c b/arch/x86/kernel/pci-swiotlb.c index adf0392..844b89b 100644 --- a/arch/x86/kernel/pci-swiotlb.c +++ b/arch/x86/kernel/pci-swiotlb.c @@ -57,6 +57,9 @@ static struct dma_map_ops swiotlb_dma_ops = { .unmap_sg = swiotlb_unmap_sg_attrs, .map_page = swiotlb_map_page, .unmap_page = swiotlb_unmap_page, +#ifdef CONFIG_HAS_DMA_P2P + .map_peer_resource = swiotlb_map_peer_resource, +#endif .dma_supported = NULL, };
Signed-off-by: Will Davis <wdavis@nvidia.com> --- arch/x86/kernel/pci-swiotlb.c | 3 +++ 1 file changed, 3 insertions(+)