x86/amd-iommu: Introduce iommu_flush_device() function
authorJoerg Roedel <joerg.roedel@amd.com>
Thu, 26 Nov 2009 14:04:38 +0000 (15:04 +0100)
committerJoerg Roedel <joerg.roedel@amd.com>
Fri, 27 Nov 2009 13:20:35 +0000 (14:20 +0100)
commit3fa43655d81d471d47c44b0db4e2be1f8af32207
tree2cf0d1bffbb3a84262fa6f528a4611bf096b122c
parent7f760ddd702d162d693bc79f62c3bdd7fe55bd9d
x86/amd-iommu: Introduce iommu_flush_device() function

This patch adds a function to flush a DTE entry for a given
struct device and replaces iommu_queue_inv_dev_entry calls
with this function where appropriate.

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