mm/hmm: cleanup the hmm_vma_handle_pmd stub
authorChristoph Hellwig <hch@lst.de>
Tue, 6 Aug 2019 16:05:49 +0000 (19:05 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Wed, 7 Aug 2019 17:58:06 +0000 (14:58 -0300)
commit9d3973d60f0abd3985229bd895f45e2b8974344c
tree501783ad7739a3daca4fcb0801db4ff3ed52313a
parentf0b3c45c8931fd7448a638557752f2743f76f51a
mm/hmm: cleanup the hmm_vma_handle_pmd stub

Stub out the whole function when CONFIG_TRANSPARENT_HUGEPAGE is not set to
make the function easier to read.

Link: https://lore.kernel.org/r/20190806160554.14046-12-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