intel-iommu: Clean up intel_iommu_unmap_range()
authorDavid Woodhouse <David.Woodhouse@intel.com>
Sat, 27 Jun 2009 23:51:17 +0000 (00:51 +0100)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 29 Jun 2009 12:31:12 +0000 (13:31 +0100)
commit163cc52ccd2cc5c5ae4e1c886f6fde8547feed2a
tree0371640770d8c575779b29cfaea2b27e922ce724
parentd794dc9b302c2781c571c10dedb8094e223d31b8
intel-iommu: Clean up intel_iommu_unmap_range()

Use unaligned address for domain->max_addr. That algorithm isn't ideal
anyway -- we should probably just look at the last iova in the tree.

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/pci/intel-iommu.c