diff options
author | Christoph Hellwig <hch@lst.de> | 2019-08-06 19:05:48 +0300 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2019-08-07 14:58:06 -0300 |
commit | f0b3c45c8931fd7448a638557752f2743f76f51a (patch) | |
tree | 9ab822626de13f51b504527850cb1bf668697b8c /drivers/regulator | |
parent | 309f9a4f5e1a233d5df2101b9394ee689d9e463f (diff) | |
download | linux-f0b3c45c8931fd7448a638557752f2743f76f51a.tar.gz linux-f0b3c45c8931fd7448a638557752f2743f76f51a.tar.bz2 linux-f0b3c45c8931fd7448a638557752f2743f76f51a.zip |
mm/hmm: only define hmm_vma_walk_pud if needed
We only need the special pud_entry walker if PUD-sized hugepages and pte
mappings are supported, else the common pagewalk code will take care of
the iteration. Not implementing this callback reduced the amount of code
compiled for non-x86 platforms, and also fixes compile failures with other
architectures when helpers like pud_pfn are not implemented.
Link: https://lore.kernel.org/r/20190806160554.14046-11-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>
Diffstat (limited to 'drivers/regulator')
0 files changed, 0 insertions, 0 deletions