iommu/omap: ->unmap() should return order of unmapped page
authorOhad Ben-Cohen <ohad@wizery.com>
Fri, 2 Sep 2011 17:32:33 +0000 (13:32 -0400)
committerHiroshi DOYU <hdoyu@nvidia.com>
Mon, 23 Jan 2012 09:11:32 +0000 (11:11 +0200)
commit82c66ef0d37e78749aa9ad754312b37504f1a7b3
treec53303e98519c3fd9fb733254a20c7ed96497db2
parent1b56ee2f51cd74bf537a891a062f6068c7ab1a28
iommu/omap: ->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.

Fix omap_iommu_unmap() to do so and adopt omap-iovmm accordingly.

Signed-off-by: Ohad Ben-Cohen <ohad@wizery.com>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
drivers/iommu/omap-iommu.c
drivers/iommu/omap-iovmm.c