]> git.baikalelectronics.ru Git - kernel.git/commit
mm: factor out a devm_request_free_mem_region helper
authorChristoph Hellwig <hch@lst.de>
Wed, 26 Jun 2019 12:27:06 +0000 (14:27 +0200)
committerJason Gunthorpe <jgg@mellanox.com>
Tue, 2 Jul 2019 17:32:44 +0000 (14:32 -0300)
commit16d033fdae4bde714475ac65c8cf1c003753a504
tree13b972659276b1deac4a9e93a7947432ba97a974
parent0b54c1465a51683ab8e2919cf9ede406a10fe52d
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>
include/linux/ioport.h
kernel/resource.c
mm/hmm.c