Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Reported-by: Guenter Roeck <[email protected]> Signed-off-by: David S. Miller <[email protected]>
- Loading branch information