iommu: Export iommu_get_resv_regions()
authorJason Gunthorpe <jgg@nvidia.com>
Mon, 17 Jul 2023 18:12:00 +0000 (15:12 -0300)
committerJason Gunthorpe <jgg@nvidia.com>
Wed, 26 Jul 2023 13:19:27 +0000 (10:19 -0300)
commit8d0e2e9d93d2b25b62c7fb6faf8c3cc31c6c6626
tree024e569729bc4109ef7ebc4571f229ceea28a151
parent91a2e17e243f70e0aec29facf44946439fce9195
iommu: Export iommu_get_resv_regions()

iommufd wants to use this in the next patch. For some reason the
iommu_put_resv_regions() was already exported.

Link: https://lore.kernel.org/r/4-v8-6659224517ea+532-iommufd_alloc_jgg@nvidia.com
Reviewed-by: Lu Baolu <baolu.lu@linux.intel.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Tested-by: Nicolin Chen <nicolinc@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/iommu/iommu.c