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)
committerJoerg Roedel <joerg.roedel@amd.com>
Mon, 5 Sep 2011 13:14:37 +0000 (15:14 +0200)
commit5e1b612cb16f446996398bd23b6cd59ea0206938
tree4278a81d31facf01da8d914bcd90e9573824fc32
parentb4550d415a2e1668822ebf3a12b481548756b4e3
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