[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230615093308.24989-1-quic_ajainp@quicinc.com>
Date: Thu, 15 Jun 2023 15:03:08 +0530
From: Anvesh Jain P <quic_ajainp@...cinc.com>
To: Joerg Roedel <joro@...tes.org>, Will Deacon <will@...nel.org>,
"Robin Murphy" <robin.murphy@....com>
CC: <iommu@...ts.linux.dev>, <linux-kernel@...r.kernel.org>,
Anvesh Jain P <quic_ajainp@...cinc.com>,
Venkata Rao Kakani <quic_vkakani@...cinc.com>,
Vagdhan Kumar <quic_vagdhank@...cinc.com>
Subject: [PATCH] iommu: export iommu_set_default_translated function
export iommu_set_default_translated function to be used by other modules.
Signed-off-by: Anvesh Jain P <quic_ajainp@...cinc.com>
Signed-off-by: Venkata Rao Kakani <quic_vkakani@...cinc.com>
Signed-off-by: Vagdhan Kumar <quic_vagdhank@...cinc.com>
---
drivers/iommu/iommu.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/iommu/iommu.c b/drivers/iommu/iommu.c
index f1dcfa3f1a1b..1b4a5db58d66 100644
--- a/drivers/iommu/iommu.c
+++ b/drivers/iommu/iommu.c
@@ -2730,6 +2730,7 @@ void iommu_set_default_translated(bool cmd_line)
iommu_cmd_line |= IOMMU_CMD_LINE_DMA_API;
iommu_def_domain_type = IOMMU_DOMAIN_DMA;
}
+EXPORT_SYMBOL_GPL(iommu_set_default_translated);
bool iommu_default_passthrough(void)
{
base-commit: b6dad5178ceaf23f369c3711062ce1f2afc33644
--
2.17.1
Powered by blists - more mailing lists