]> asedeno.scripts.mit.edu Git - linux.git/commit
mm/hmm: replace the block argument to hmm_range_fault with a flags value
authorChristoph Hellwig <hch@lst.de>
Fri, 26 Jul 2019 00:56:46 +0000 (17:56 -0700)
committerJason Gunthorpe <jgg@mellanox.com>
Fri, 26 Jul 2019 14:10:53 +0000 (11:10 -0300)
commit9a4903e49e495bfd2650862dfae4178bebe4db9c
tree1e51233f6535642e0aa1dbfea20f4a3eba02a9f5
parentd2e8d551165ccb6669a0d0273be01ac99d61deba
mm/hmm: replace the block argument to hmm_range_fault with a flags value

This allows easier expansion to other flags, and also makes the callers a
little easier to read.

Link: https://lore.kernel.org/r/20190726005650.2566-4-rcampbell@nvidia.com
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Ralph Campbell <rcampbell@nvidia.com>
Reviewed-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
drivers/gpu/drm/nouveau/nouveau_svm.c
include/linux/hmm.h
mm/hmm.c