Loading drivers/iommu/iova.c +1 −2 Original line number Diff line number Diff line Loading @@ -243,11 +243,10 @@ static struct kmem_cache *iova_cache; static unsigned int iova_cache_users; static DEFINE_MUTEX(iova_cache_mutex); struct iova *alloc_iova_mem(void) static struct iova *alloc_iova_mem(void) { return kmem_cache_zalloc(iova_cache, GFP_ATOMIC | __GFP_NOWARN); } EXPORT_SYMBOL(alloc_iova_mem); void free_iova_mem(struct iova *iova) { Loading include/linux/iova.h +0 −6 Original line number Diff line number Diff line Loading @@ -136,7 +136,6 @@ static inline unsigned long iova_pfn(struct iova_domain *iovad, dma_addr_t iova) int iova_cache_get(void); void iova_cache_put(void); struct iova *alloc_iova_mem(void); void free_iova_mem(struct iova *iova); void free_iova(struct iova_domain *iovad, unsigned long pfn); void __free_iova(struct iova_domain *iovad, struct iova *iova); Loading Loading @@ -171,11 +170,6 @@ static inline void iova_cache_put(void) { } static inline struct iova *alloc_iova_mem(void) { return NULL; } static inline void free_iova_mem(struct iova *iova) { } Loading Loading
drivers/iommu/iova.c +1 −2 Original line number Diff line number Diff line Loading @@ -243,11 +243,10 @@ static struct kmem_cache *iova_cache; static unsigned int iova_cache_users; static DEFINE_MUTEX(iova_cache_mutex); struct iova *alloc_iova_mem(void) static struct iova *alloc_iova_mem(void) { return kmem_cache_zalloc(iova_cache, GFP_ATOMIC | __GFP_NOWARN); } EXPORT_SYMBOL(alloc_iova_mem); void free_iova_mem(struct iova *iova) { Loading
include/linux/iova.h +0 −6 Original line number Diff line number Diff line Loading @@ -136,7 +136,6 @@ static inline unsigned long iova_pfn(struct iova_domain *iovad, dma_addr_t iova) int iova_cache_get(void); void iova_cache_put(void); struct iova *alloc_iova_mem(void); void free_iova_mem(struct iova *iova); void free_iova(struct iova_domain *iovad, unsigned long pfn); void __free_iova(struct iova_domain *iovad, struct iova *iova); Loading Loading @@ -171,11 +170,6 @@ static inline void iova_cache_put(void) { } static inline struct iova *alloc_iova_mem(void) { return NULL; } static inline void free_iova_mem(struct iova *iova) { } Loading