]> 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)
commit8da09cee792df9022517669a3fc0ff9e2cb02b68
tree9f2627fbecab0c5e885093152910b4a191dd3f68
parentb57a0b915fede0f53e46f1924273ac4cbf7aab82
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