iommu/msm: ->unmap() should return order of unmapped page
authorOhad Ben-Cohen <ohad@wizery.com>
Fri, 2 Sep 2011 17:32:34 +0000 (13:32 -0400)
committerHiroshi DOYU <hdoyu@nvidia.com>
Mon, 23 Jan 2012 09:11:32 +0000 (11:11 +0200)
commitbdb194167f60d6217867c139c4e31a1361bbdf3d
treeaa00bd45970a633cb14050b175865343d33d154a
parent82c66ef0d37e78749aa9ad754312b37504f1a7b3
iommu/msm: ->unmap() should return order of unmapped page

Users of the IOMMU API (kvm specifically) assume that iommu_unmap()
returns the order of the unmapped page (on success).

Fix msm_iommu_unmap() accordingly.

Signed-off-by: Ohad Ben-Cohen <ohad@wizery.com>
Cc: Stepan Moskovchenko <stepanm@codeaurora.org>
Cc: David Brown <davidb@codeaurora.org>
Acked-by: David Brown <davidb@codeaurora.org>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
drivers/iommu/msm_iommu.c