]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit - mm/hmm.c
mm/hmm: cleanup the hmm_vma_walk_hugetlb_entry stub
authorChristoph Hellwig <hch@lst.de>
Tue, 6 Aug 2019 16:05:50 +0000 (19:05 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Wed, 7 Aug 2019 17:58:06 +0000 (14:58 -0300)
commit251bbe59b7a6362f4c417aa8af281d44f9edfa0e
tree7ea191249eb537fb6d565cb2804804aa281bb660
parent9d3973d60f0abd3985229bd895f45e2b8974344c
mm/hmm: cleanup the hmm_vma_walk_hugetlb_entry stub

Stub out the whole function and assign NULL to the .hugetlb_entry method
if CONFIG_HUGETLB_PAGE is not set, as the method won't ever be called in
that case.

Link: https://lore.kernel.org/r/20190806160554.14046-13-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>
mm/hmm.c