[PATCH 12/13] mm: cleanup the hmm_vma_walk_hugetlb_entry stub

Jason Gunthorpe jgg at mellanox.com
Tue Jul 30 18:02:52 UTC 2019


On Tue, Jul 30, 2019 at 08:52:02AM +0300, Christoph Hellwig wrote:
> 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.
> 
> Signed-off-by: Christoph Hellwig <hch at lst.de>
> ---
>  mm/hmm.c | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)

Reviewed-by: Jason Gunthorpe <jgg at mellanox.com>

Jason


More information about the dri-devel mailing list