diff options
author | Will Deacon <will@kernel.org> | 2019-07-02 17:43:34 +0200 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2019-07-24 14:32:33 +0200 |
commit | 298f78895b081911e0b3605f07d79ebd3d4cf7b0 (patch) | |
tree | f4ba760feb4069d598671753468e716aa223fc41 /drivers/iommu/io-pgtable-arm.c | |
parent | iommu/io-pgtable-arm: Remove redundant call to io_pgtable_tlb_sync() (diff) | |
download | linux-298f78895b081911e0b3605f07d79ebd3d4cf7b0.tar.xz linux-298f78895b081911e0b3605f07d79ebd3d4cf7b0.zip |
iommu/io-pgtable: Rename iommu_gather_ops to iommu_flush_ops
In preparation for TLB flush gathering in the IOMMU API, rename the
iommu_gather_ops structure in io-pgtable to iommu_flush_ops, which
better describes its purpose and avoids the potential for confusion
between different levels of the API.
$ find linux/ -type f -name '*.[ch]' | xargs sed -i 's/gather_ops/flush_ops/g'
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'drivers/iommu/io-pgtable-arm.c')
-rw-r--r-- | drivers/iommu/io-pgtable-arm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iommu/io-pgtable-arm.c b/drivers/iommu/io-pgtable-arm.c index 0d6633921c1e..402f913b6f6d 100644 --- a/drivers/iommu/io-pgtable-arm.c +++ b/drivers/iommu/io-pgtable-arm.c @@ -1081,7 +1081,7 @@ static void dummy_tlb_sync(void *cookie) WARN_ON(cookie != cfg_cookie); } -static const struct iommu_gather_ops dummy_tlb_ops __initconst = { +static const struct iommu_flush_ops dummy_tlb_ops __initconst = { .tlb_flush_all = dummy_tlb_flush_all, .tlb_add_flush = dummy_tlb_add_flush, .tlb_sync = dummy_tlb_sync, |