diff options
Diffstat (limited to 'drivers/iommu/iommu.c')
-rw-r--r-- | drivers/iommu/iommu.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/iommu/iommu.c b/drivers/iommu/iommu.c index f730ed9d8af9..1d72b4f5b006 100644 --- a/drivers/iommu/iommu.c +++ b/drivers/iommu/iommu.c | |||
@@ -853,12 +853,13 @@ EXPORT_SYMBOL_GPL(iommu_unmap); | |||
853 | 853 | ||
854 | 854 | ||
855 | int iommu_domain_window_enable(struct iommu_domain *domain, u32 wnd_nr, | 855 | int iommu_domain_window_enable(struct iommu_domain *domain, u32 wnd_nr, |
856 | phys_addr_t paddr, u64 size) | 856 | phys_addr_t paddr, u64 size, int prot) |
857 | { | 857 | { |
858 | if (unlikely(domain->ops->domain_window_enable == NULL)) | 858 | if (unlikely(domain->ops->domain_window_enable == NULL)) |
859 | return -ENODEV; | 859 | return -ENODEV; |
860 | 860 | ||
861 | return domain->ops->domain_window_enable(domain, wnd_nr, paddr, size); | 861 | return domain->ops->domain_window_enable(domain, wnd_nr, paddr, size, |
862 | prot); | ||
862 | } | 863 | } |
863 | EXPORT_SYMBOL_GPL(iommu_domain_window_enable); | 864 | EXPORT_SYMBOL_GPL(iommu_domain_window_enable); |
864 | 865 | ||