diff options
author | Joerg Roedel <joerg.roedel@amd.com> | 2009-11-20 07:22:21 -0500 |
---|---|---|
committer | Joerg Roedel <joerg.roedel@amd.com> | 2009-11-27 05:45:48 -0500 |
commit | 6a9401a7ac13e62ef2baf4d46e022d303edc3050 (patch) | |
tree | 6785d21540a8243b1ce89e49d9671dca07ad200c /arch/x86/include/asm/amd_iommu.h | |
parent | 273bee27fa9f79d94b78c83506016f2e41e78983 (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.h | 10 |
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 |
26 | extern int amd_iommu_init_dma_ops(void); | 26 | |
27 | extern int amd_iommu_init_passthrough(void); | ||
28 | extern void amd_iommu_detect(void); | 27 | extern void amd_iommu_detect(void); |
29 | extern irqreturn_t amd_iommu_int_handler(int irq, void *data); | 28 | |
30 | extern void amd_iommu_flush_all_domains(void); | ||
31 | extern void amd_iommu_flush_all_devices(void); | ||
32 | extern void amd_iommu_apply_erratum_63(u16 devid); | ||
33 | #else | 29 | #else |
30 | |||
34 | static inline void amd_iommu_detect(void) { } | 31 | static 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 */ |