diff options
author | Sakari Ailus <sakari.ailus@linux.intel.com> | 2015-07-13 14:31:28 +0300 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2015-07-28 15:47:58 +0100 |
commit | ae1ff3d623905947158fd3394854c23026337810 (patch) | |
tree | f4dbf8564370339f17021f74bfe37043e23f7872 /include/linux | |
parent | 8f6429c7cb59f28433253575cc8e3262eed63592 (diff) | |
download | linux-ae1ff3d623905947158fd3394854c23026337810.tar.gz linux-ae1ff3d623905947158fd3394854c23026337810.tar.bz2 linux-ae1ff3d623905947158fd3394854c23026337810.zip |
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>
Diffstat (limited to 'include/linux')
-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); |