x86/amd-iommu: Use fetch_pte in iommu_unmap_page
commit38a76eeeafb251bf67d143a34b37a8105cff302e
authorJoerg Roedel <joerg.roedel@amd.com>
Wed, 2 Sep 2009 15:02:47 +0000 (2 17:02 +0200)
committerJoerg Roedel <joerg.roedel@amd.com>
Thu, 3 Sep 2009 14:03:41 +0000 (3 16:03 +0200)
treef5fbe58002425e7424937678fd87b35f9e3c9280
parent9355a08186e52b7c120adea91c984923b54efa10
x86/amd-iommu: Use fetch_pte in iommu_unmap_page

Instead of reimplementing existing logic use fetch_pte to
walk the page table in iommu_unmap_page.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
arch/x86/kernel/amd_iommu.c