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
422 dma_addr_t *daddrs,422 dma_addr_t *daddrs,
423 unsigned int flags);423 unsigned int flags);
424long hmm_range_dma_unmap(struct hmm_range *range,424long hmm_range_dma_unmap(struct hmm_range *range,
425 struct vm_area_struct *vma,
426 struct device *device,425 struct device *device,
427 dma_addr_t *daddrs,426 dma_addr_t *daddrs,
428 bool dirty);427 bool dirty);
mm/hmm.c+0−2
@@ -1129,7 +1129,6 @@ EXPORT_SYMBOL(hmm_range_dma_map); · 1128 unmodified lines
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 unmapped1131 * @range: range being unmapped
1132 * @vma: the vma against which the range (optional)
1133 * @device: device against which dma map was done1132 * @device: device against which dma map was done
1134 * @daddrs: dma address of mapped pages1133 * @daddrs: dma address of mapped pages
1135 * @dirty: dirty page if it had the write flag set1134 * @dirty: dirty page if it had the write flag set
@@ -1141,7 +1140,6 @@ EXPORT_SYMBOL(hmm_range_dma_map); · 5 unmodified lines
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 */
1143long hmm_range_dma_unmap(struct hmm_range *range,1142long 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)

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