sparc/iommu: move per-page flushing into __sbus_iommu_map_page
authorChristoph Hellwig <hch@lst.de>
Tue, 16 Apr 2019 18:23:44 +0000 (20:23 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 9 May 2019 00:11:57 +0000 (17:11 -0700)
commit8668b38c1c7720baf76da15a7a7eef43ae0c65a4
tree2d8cb8d460a88fc2ff57b09d94ea7fbf3391082f
parentb82059428c0577c2ec082974d7956291d5eae2cf
sparc/iommu: move per-page flushing into __sbus_iommu_map_page

This prepares for reusing __sbus_iommu_map_page in the map_sg path.

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