summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/amd_iommu.h
diff options
context:
space:
mode:
authorJoerg Roedel <joerg.roedel@amd.com>2009-05-05 15:48:10 +0200
committerJoerg Roedel <joerg.roedel@amd.com>2009-05-28 18:10:43 +0200
commit7d7a110c6127b7fc683dc6d764555f2dbd22b054 (patch)
treee507db8006ad708189a2dbccc65c595f3ecda504 /arch/x86/include/asm/amd_iommu.h
parentbfd1be1857e5a3385bf146e02e6dc3dd4241bec1 (diff)
downloadtalos-op-linux-7d7a110c6127b7fc683dc6d764555f2dbd22b054.tar.gz
talos-op-linux-7d7a110c6127b7fc683dc6d764555f2dbd22b054.zip
amd-iommu: add function to flush tlb for all devices
This function is required for suspend/resume support with AMD IOMMU enabled. Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Diffstat (limited to 'arch/x86/include/asm/amd_iommu.h')
-rw-r--r--arch/x86/include/asm/amd_iommu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/include/asm/amd_iommu.h b/arch/x86/include/asm/amd_iommu.h
index 1750e1f85d3c..262e02820049 100644
--- a/arch/x86/include/asm/amd_iommu.h
+++ b/arch/x86/include/asm/amd_iommu.h
@@ -28,6 +28,7 @@ extern int amd_iommu_init_dma_ops(void);
extern void amd_iommu_detect(void);
extern irqreturn_t amd_iommu_int_handler(int irq, void *data);
extern void amd_iommu_flush_all_domains(void);
+extern void amd_iommu_flush_all_devices(void);
#else
static inline int amd_iommu_init(void) { return -ENODEV; }
static inline void amd_iommu_detect(void) { }
OpenPOWER on IntegriCloud