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)
commit292827cb164ad00cc7689a21283b1261c0b6daed
tree9f2627fbecab0c5e885093152910b4a191dd3f68
parent3fb39615007d0645ad7f3a509d7120a1987d95b2
intel-iommu: fix return value of iommu_unmap() API

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>
drivers/iommu/intel-iommu.c
This page took 0.026665 seconds and 5 git commands to generate.