Jiang Liu d41a4adb1b iommu/vt-d: Simplify intel_unmap_sg() and kill duplicated code
Introduce intel_unmap() to reduce duplicated code in intel_unmap_sg()
and intel_unmap_page().

Also let dma_pte_free_pagetable() to call dma_pte_clear_range() directly,
so caller only needs to call dma_pte_free_pagetable().

Signed-off-by: Jiang Liu <jiang.liu@linux.intel.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
2014-07-23 16:04:47 +02:00
..
2014-07-04 12:35:59 +02:00
2014-07-04 12:35:59 +02:00
2014-07-07 10:36:59 +02:00
2014-07-07 10:36:59 +02:00
2014-07-23 16:04:37 +02:00
2014-07-07 10:36:59 +02:00
2014-07-07 10:36:59 +02:00
2014-07-04 12:35:59 +02:00
2014-07-07 10:36:59 +02:00
2014-01-07 15:16:27 +01:00
2014-07-07 10:36:59 +02:00
2014-07-07 10:36:59 +02:00
2014-07-07 10:36:59 +02:00