From 49b4f8fa0aeb5f6cb44dca0d3b49460ab45f7270 Mon Sep 17 00:00:00 2001 From: Kunkun Jiang Date: Wed, 7 Dec 2022 18:38:58 +0800 Subject: [PATCH] Revert "iommu: fix build error when CONFIG_IOMMU_API is off" virt inclusion category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I61SPO CVE: NA -------------------------------- This reverts commit 3afa66c6a1ca51433487ba116455af878ac17227. Signed-off-by: Kunkun Jiang Reviewed-by: Keqian Zhu Signed-off-by: Zheng Zengkai --- include/linux/iommu.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/linux/iommu.h b/include/linux/iommu.h index d993036c94c2..95320164dcf3 100644 --- a/include/linux/iommu.h +++ b/include/linux/iommu.h @@ -1221,7 +1221,6 @@ iommu_sva_bind_group(struct iommu_group *group, struct mm_struct *mm, return NULL; } -static inline int iommu_bind_guest_msi(struct iommu_domain *domain, dma_addr_t giova, phys_addr_t gpa, size_t size) { -- GitLab