diff options
author | Christoph Hellwig <hch@lst.de> | 2019-08-18 12:05:54 +0300 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2019-08-20 15:39:41 +0300 |
commit | 0c385190392d8c7128fb7517b3c676e19c7b8808 (patch) | |
tree | a4ac48e3483737db04c0ec73ea663e873b8f6a6e /include/linux/memremap.h | |
parent | 8402ce61bec28a1b73ec467b4c146f1e3f587044 (diff) | |
download | linux-0c385190392d8c7128fb7517b3c676e19c7b8808.tar.xz |
resource: add a not device managed request_free_mem_region variant
Factor out the guts of devm_request_free_mem_region so that we can
implement both a device managed and a manually release version as tiny
wrappers around it.
Link: https://lore.kernel.org/r/20190818090557.17853-2-hch@lst.de
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Reviewed-by: Dan Williams <dan.j.williams@intel.com>
Tested-by: Bharata B Rao <bharata@linux.ibm.com>
Reviewed-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'include/linux/memremap.h')
0 files changed, 0 insertions, 0 deletions