]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3061e77d4c7e0280bb2cbc30f0bb224cec6b4450
tree9f2627fbecab0c5e885093152910b4a191dd3f68
parenta8a280c5c44768e60cc97ab5d2b73adceffd759f
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