aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/amd_iommu.h
diff options
context:
space:
mode:
authorJoerg Roedel <joerg.roedel@amd.com>2009-11-20 07:22:21 -0500
committerJoerg Roedel <joerg.roedel@amd.com>2009-11-27 05:45:48 -0500
commit6a9401a7ac13e62ef2baf4d46e022d303edc3050 (patch)
tree6785d21540a8243b1ce89e49d9671dca07ad200c /arch/x86/include/asm/amd_iommu.h
parent273bee27fa9f79d94b78c83506016f2e41e78983 (diff)
x86/amd-iommu: Separate internal interface definitions
This patch moves all function declarations which are only used inside the driver code to a seperate header file. 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.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/arch/x86/include/asm/amd_iommu.h b/arch/x86/include/asm/amd_iommu.h
index b8ef2ee93643..089133899b3c 100644
--- a/arch/x86/include/asm/amd_iommu.h
+++ b/arch/x86/include/asm/amd_iommu.h
@@ -23,15 +23,13 @@
23#include <linux/irqreturn.h> 23#include <linux/irqreturn.h>
24 24
25#ifdef CONFIG_AMD_IOMMU 25#ifdef CONFIG_AMD_IOMMU
26extern int amd_iommu_init_dma_ops(void); 26
27extern int amd_iommu_init_passthrough(void);
28extern void amd_iommu_detect(void); 27extern void amd_iommu_detect(void);
29extern irqreturn_t amd_iommu_int_handler(int irq, void *data); 28
30extern void amd_iommu_flush_all_domains(void);
31extern void amd_iommu_flush_all_devices(void);
32extern void amd_iommu_apply_erratum_63(u16 devid);
33#else 29#else
30
34static inline void amd_iommu_detect(void) { } 31static inline void amd_iommu_detect(void) { }
32
35#endif 33#endif
36 34
37#endif /* _ASM_X86_AMD_IOMMU_H */ 35#endif /* _ASM_X86_AMD_IOMMU_H */