History

mm/hmm: remove the unused vma argument to hmm_range_dma_unmap

Christoph Hellwig committed 7 years ago

Commit 2cbeb411 parent 5aa0acb2 files · +0 −3Browse files

Unified · Split

2 files
  1. include/linux/hmm.h +0 −1
  2. mm/hmm.c +0 −2
include/linux/hmm.h+0−1
@@ -422,7 +422,6 @@ long hmm_range_dma_map(struct hmm_range *range, · 421 unmodified lines
422422 dma_addr_t *daddrs,
423423 unsigned int flags);
424424 long hmm_range_dma_unmap(struct hmm_range *range,
425− struct vm_area_struct *vma,
426425 struct device *device,
427426 dma_addr_t *daddrs,
428427 bool dirty);
mm/hmm.c+0−2
@@ -1129,7 +1129,6 @@ EXPORT_SYMBOL(hmm_range_dma_map); · 1128 unmodified lines
11291129 /**
11301130 * hmm_range_dma_unmap() - unmap range of that was map with hmm_range_dma_map()
11311131 * @range: range being unmapped
1132− * @vma: the vma against which the range (optional)
11331132 * @device: device against which dma map was done
11341133 * @daddrs: dma address of mapped pages
11351134 * @dirty: dirty page if it had the write flag set
@@ -1141,7 +1140,6 @@ EXPORT_SYMBOL(hmm_range_dma_map); · 5 unmodified lines
11411140 * concurrent mmu notifier or sync_cpu_device_pagetables() to make progress.
11421141 */
11431142 long hmm_range_dma_unmap(struct hmm_range *range,
1144− struct vm_area_struct *vma,
11451143 struct device *device,
11461144 dma_addr_t *daddrs,
11471145 bool dirty)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t