Re: [PATCH kernel 1/4] powerpc/mm/iommu: Rename mm_iommu_get

2018-10-16 Thread David Gibson
On Mon, Oct 15, 2018 at 08:24:13PM +1100, Alexey Kardashevskiy wrote: > Normally mm_iommu_get() is supposed to add a reference and > mm_iommu_put() to remove it. However historically mm_iommu_find() does > the referencing and mm_iommu_get() is doing allocation and referencing. > > This is step 1 t

[PATCH kernel 1/4] powerpc/mm/iommu: Rename mm_iommu_get

2018-10-15 Thread Alexey Kardashevskiy
Normally mm_iommu_get() is supposed to add a reference and mm_iommu_put() to remove it. However historically mm_iommu_find() does the referencing and mm_iommu_get() is doing allocation and referencing. This is step 1 towards simpler mm_iommu_get(). This renames: - mm_iommu_get to mm_iommu_new; -