diff options
author | Robin Murphy <robin.murphy@arm.com> | 2024-04-19 18:54:46 +0200 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2024-04-26 12:07:28 +0200 |
commit | f091e93306e0429ebb7589b9874590b6a9705e64 (patch) | |
tree | 1a8e21d38d16d7b81f734b27d92776542f746060 /fs/drop_caches.c | |
parent | iommu/dma: Centralise iommu_setup_dma_ops() (diff) | |
download | linux-f091e93306e0429ebb7589b9874590b6a9705e64.tar.xz linux-f091e93306e0429ebb7589b9874590b6a9705e64.zip |
dma-mapping: Simplify arch_setup_dma_ops()
The dma_base, size and iommu arguments are only used by ARM, and can
now easily be deduced from the device itself, so there's no need to pass
them through the callchain as well.
Acked-by: Rob Herring <robh@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Michael Kelley <mhklinux@outlook.com> # For Hyper-V
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Tested-by: Hanjun Guo <guohanjun@huawei.com>
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Link: https://lore.kernel.org/r/5291c2326eab405b1aa7693aa964e8d3cb7193de.1713523152.git.robin.murphy@arm.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'fs/drop_caches.c')
0 files changed, 0 insertions, 0 deletions