sparc/iommu: pass a physical address to iommu_get_one
authorChristoph Hellwig <hch@lst.de>
Tue, 16 Apr 2019 18:23:43 +0000 (20:23 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 9 May 2019 00:11:57 +0000 (17:11 -0700)
commitb82059428c0577c2ec082974d7956291d5eae2cf
tree5cd8644c6e3ef7e67e2dc27e96e01d7dbeb2eb96
parentff5cbec0c3ea8b96c4cb7bcd9f484d8665d394e6
sparc/iommu: pass a physical address to iommu_get_one

No need for the page structure, just the paddr / pfn.  This is
going to simplify fixes to the callers.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reported-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/mm/iommu.c