diff options
author | John Garry <john.garry@huawei.com> | 2021-07-12 19:12:20 +0800 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2021-07-26 13:27:38 +0200 |
commit | 308723e3580027f0cd7c86a5edfe6b5acb6863d2 (patch) | |
tree | cda2c92f4487fb84dcccd0a2ba2af381b5885939 /include/linux/iommu.h | |
parent | 02252b3bfe9f98770a8d902925711676ff5bd766 (diff) | |
download | linux-stable-308723e3580027f0cd7c86a5edfe6b5acb6863d2.tar.gz linux-stable-308723e3580027f0cd7c86a5edfe6b5acb6863d2.tar.bz2 linux-stable-308723e3580027f0cd7c86a5edfe6b5acb6863d2.zip |
iommu: Remove mode argument from iommu_set_dma_strict()
We only ever now set strict mode enabled in iommu_set_dma_strict(), so
just remove the argument.
Signed-off-by: John Garry <john.garry@huawei.com>
Reviewed-by: Robin Murphy <robin.murphy@arm.com>
Reviewed-by: Lu Baolu <baolu.lu@linux.intel.com>
Link: https://lore.kernel.org/r/1626088340-5838-7-git-send-email-john.garry@huawei.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'include/linux/iommu.h')
-rw-r--r-- | include/linux/iommu.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/iommu.h b/include/linux/iommu.h index d7989d4a7404..4997c78e2670 100644 --- a/include/linux/iommu.h +++ b/include/linux/iommu.h @@ -485,7 +485,7 @@ int iommu_enable_nesting(struct iommu_domain *domain); int iommu_set_pgtable_quirks(struct iommu_domain *domain, unsigned long quirks); -void iommu_set_dma_strict(bool val); +void iommu_set_dma_strict(void); bool iommu_get_dma_strict(struct iommu_domain *domain); extern int report_iommu_fault(struct iommu_domain *domain, struct device *dev, |