diff options
author | Christoph Hellwig <hch@lst.de> | 2019-08-06 12:05:43 -0400 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2019-08-07 13:58:05 -0400 |
commit | 2cbeb41913e639890bf2c6485d7bdc6a25fdfd56 (patch) | |
tree | 4660811f542c470148d4d7f81361f2899de73407 /mm/hmm.c | |
parent | 5aa0acb374edd3c5001328276d34ac86f14a3867 (diff) |
mm/hmm: remove the unused vma argument to hmm_range_dma_unmap
Link: https://lore.kernel.org/r/20190806160554.14046-6-hch@lst.de
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'mm/hmm.c')
-rw-r--r-- | mm/hmm.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -1129,7 +1129,6 @@ EXPORT_SYMBOL(hmm_range_dma_map); | |||
1129 | /** | 1129 | /** |
1130 | * hmm_range_dma_unmap() - unmap range of that was map with hmm_range_dma_map() | 1130 | * hmm_range_dma_unmap() - unmap range of that was map with hmm_range_dma_map() |
1131 | * @range: range being unmapped | 1131 | * @range: range being unmapped |
1132 | * @vma: the vma against which the range (optional) | ||
1133 | * @device: device against which dma map was done | 1132 | * @device: device against which dma map was done |
1134 | * @daddrs: dma address of mapped pages | 1133 | * @daddrs: dma address of mapped pages |
1135 | * @dirty: dirty page if it had the write flag set | 1134 | * @dirty: dirty page if it had the write flag set |
@@ -1141,7 +1140,6 @@ EXPORT_SYMBOL(hmm_range_dma_map); | |||
1141 | * concurrent mmu notifier or sync_cpu_device_pagetables() to make progress. | 1140 | * concurrent mmu notifier or sync_cpu_device_pagetables() to make progress. |
1142 | */ | 1141 | */ |
1143 | long hmm_range_dma_unmap(struct hmm_range *range, | 1142 | long hmm_range_dma_unmap(struct hmm_range *range, |
1144 | struct vm_area_struct *vma, | ||
1145 | struct device *device, | 1143 | struct device *device, |
1146 | dma_addr_t *daddrs, | 1144 | dma_addr_t *daddrs, |
1147 | bool dirty) | 1145 | bool dirty) |