diff options
author | Christoph Hellwig <hch@lst.de> | 2018-07-30 09:36:26 +0200 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2018-08-08 11:06:20 +0200 |
commit | d88e61faad526a5850e9330c846641b91cf971e7 (patch) | |
tree | 936bfd3d693f904d1a3de9f9e51034ba0dd6329c /drivers/iommu/exynos-iommu.c | |
parent | 58d1131777a4b7c228267b809bd88f7be66edcfb (diff) | |
download | talos-obmc-linux-d88e61faad526a5850e9330c846641b91cf971e7.tar.gz talos-obmc-linux-d88e61faad526a5850e9330c846641b91cf971e7.zip |
iommu: Remove the ->map_sg indirection
All iommu drivers use the default_iommu_map_sg implementation, and there
is no good reason to ever override it. Just expose it as iommu_map_sg
directly and remove the indirection, specially in our post-spectre world
where indirect calls are horribly expensive.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/iommu/exynos-iommu.c')
-rw-r--r-- | drivers/iommu/exynos-iommu.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iommu/exynos-iommu.c b/drivers/iommu/exynos-iommu.c index 85879cfec52f..19e55cf6a9dd 100644 --- a/drivers/iommu/exynos-iommu.c +++ b/drivers/iommu/exynos-iommu.c @@ -1332,7 +1332,6 @@ static const struct iommu_ops exynos_iommu_ops = { .detach_dev = exynos_iommu_detach_device, .map = exynos_iommu_map, .unmap = exynos_iommu_unmap, - .map_sg = default_iommu_map_sg, .iova_to_phys = exynos_iommu_iova_to_phys, .device_group = generic_device_group, .add_device = exynos_iommu_add_device, |