aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/hmm.h
diff options
context:
space:
mode:
authorRalph Campbell <rcampbell@nvidia.com>2019-07-25 17:56:50 -0700
committerJason Gunthorpe <jgg@mellanox.com>2019-07-26 12:35:29 -0300
commitcc374377a19d2a49d693997b62dc3a6f5fac6d61 (patch)
treeb0d11388ba858add42381d6945176dbff4d926a2 /include/linux/hmm.h
parentmm/hmm: remove hugetlbfs check in hmm_vma_walk_pmd (diff)
downloadlinux-dev-cc374377a19d2a49d693997b62dc3a6f5fac6d61.tar.xz
linux-dev-cc374377a19d2a49d693997b62dc3a6f5fac6d61.zip
mm/hmm: remove hmm_range vma
Since hmm_range_fault() doesn't use the struct hmm_range vma field, remove it. Link: https://lore.kernel.org/r/20190726005650.2566-8-rcampbell@nvidia.com Suggested-by: Jason Gunthorpe <jgg@mellanox.com> Signed-off-by: Ralph Campbell <rcampbell@nvidia.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Jason Gunthorpe <jgg@mellanox.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'include/linux/hmm.h')
-rw-r--r--include/linux/hmm.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/hmm.h b/include/linux/hmm.h
index 90dc5944b1bc..82265118d94a 100644
--- a/include/linux/hmm.h
+++ b/include/linux/hmm.h
@@ -164,7 +164,6 @@ enum hmm_pfn_value_e {
*/
struct hmm_range {
struct hmm *hmm;
- struct vm_area_struct *vma;
struct list_head list;
unsigned long start;
unsigned long end;