commit | a7fce1f7ca2f092fe44a17cb158deda97060aab4 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Tue Apr 16 20:23:40 2019 +0200 |
committer | David S. Miller <davem@davemloft.net> | Wed May 08 17:11:56 2019 -0700 |
tree | e8463d0235f1040f6e25c57e50f73c129335bce9 | |
parent | 031abf0b70cb6804eefb11340463a2277e52f853 [diff] |
sparc/iommu: use sbus_iommu_unmap_page in sbus_iommu_unmap_sg Use the page-level helper instead of duplicating the logic, while also fixing the incorrect handling of larger than page sized offsets in the sg variant. 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>