intel-iommu: fix return value of iommu_unmap() API
authorAllen Kay <allen.m.kay@intel.com>
Fri, 14 Oct 2011 19:31:54 +0000 (12:31 -0700)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Wed, 19 Oct 2011 11:06:18 +0000 (12:06 +0100)
iommu_unmap() API expects IOMMU drivers to return the actual page order
of the address being unmapped.  Previous code was just returning page
order passed in from the caller.  This patch fixes this problem.

Signed-off-by: Allen Kay <allen.m.kay@intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>

No differences found