AMD IOMMU: move TLB flushing to the map/unmap helper functions
authorJoerg Roedel <joerg.roedel@amd.com>
Thu, 4 Sep 2008 13:49:46 +0000 (15:49 +0200)
committerIngo Molnar <mingo@elte.hu>
Fri, 19 Sep 2008 10:59:04 +0000 (12:59 +0200)
commit270cab2426cdc6307725e4f1f46ecf8ab8e69193
tree1a0910df4d496b6535fe4e7e063a8e1fac902180
parentdbcc112e3b5367e81a845b082933506b0ff1d1e2
AMD IOMMU: move TLB flushing to the map/unmap helper functions

This patch moves the invocation of the flushing functions to the
map/unmap helpers because its common code in all dma_ops relevant
mapping/unmapping code.

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