iommu/amd: Optimize iommu_unmap_page for new fetch_pte interface
authorJoerg Roedel <jroedel@suse.de>
Wed, 1 Apr 2015 12:58:49 +0000 (14:58 +0200)
committerJoerg Roedel <jroedel@suse.de>
Thu, 2 Apr 2015 11:31:07 +0000 (13:31 +0200)
commit71b390e9bec5121d25c45326ff0b0b96a143f9a8
treecaaec5e9629798ee60ad5ac13fa56415ff7cb62a
parent3039ca1b1c37e61cc9239dbb3903db55141ecabd
iommu/amd: Optimize iommu_unmap_page for new fetch_pte interface

Now that fetch_pte returns the page-size of the pte, this
function can be optimized a lot.

Tested-by: Suravee Suthikulpanit <Suravee.Suthikulpanit@amd.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/amd_iommu.c