commit | 0092908d16c604b8207c2141ec64b0fa4473bb03 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Wed Jun 26 14:27:06 2019 +0200 |
committer | Jason Gunthorpe <jgg@mellanox.com> | Tue Jul 02 14:32:44 2019 -0300 |
tree | 13b972659276b1deac4a9e93a7947432ba97a974 | |
parent | 692622157bd069526360d590150c4c302a443853 [diff] |
mm: factor out a devm_request_free_mem_region helper Keep the physical address allocation that hmm_add_device does with the rest of the resource code, and allow future reuse of it without the hmm wrapper. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Jason Gunthorpe <jgg@mellanox.com> Reviewed-by: John Hubbard <jhubbard@nvidia.com> Reviewed-by: Dan Williams <dan.j.williams@intel.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>