diff options
author | Sakari Ailus <sakari.ailus@linux.intel.com> | 2015-09-29 18:07:02 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-10-04 12:46:06 +0100 |
commit | 09e8b485ee4212f78bf27c8d727845919f85cf1f (patch) | |
tree | 15b9f7aa603afef35f57a40e84f1af0dd3182c35 /include | |
parent | 19f7767e297f81726e0bd7bf3729178c41b94079 (diff) | |
download | linux-09e8b485ee4212f78bf27c8d727845919f85cf1f.tar.bz2 |
iommu: iova: Move iova cache management to the iova library
This is necessary to separate intel-iommu from the iova library.
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/iova.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/iova.h b/include/linux/iova.h index 3920a19d8194..92f7177db2ce 100644 --- a/include/linux/iova.h +++ b/include/linux/iova.h @@ -68,8 +68,8 @@ static inline unsigned long iova_pfn(struct iova_domain *iovad, dma_addr_t iova) return iova >> iova_shift(iovad); } -int iommu_iova_cache_init(void); -void iommu_iova_cache_destroy(void); +int iova_cache_get(void); +void iova_cache_put(void); struct iova *alloc_iova_mem(void); void free_iova_mem(struct iova *iova); |