summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/amd_iommu.h
diff options
context:
space:
mode:
authorJoerg Roedel <joerg.roedel@amd.com>2009-11-20 13:22:21 +0100
committerJoerg Roedel <joerg.roedel@amd.com>2009-11-27 11:45:48 +0100
commit6a9401a7ac13e62ef2baf4d46e022d303edc3050 (patch)
tree6785d21540a8243b1ce89e49d9671dca07ad200c /arch/x86/include/asm/amd_iommu.h
parent273bee27fa9f79d94b78c83506016f2e41e78983 (diff)
downloadblackbird-op-linux-6a9401a7ac13e62ef2baf4d46e022d303edc3050.tar.gz
blackbird-op-linux-6a9401a7ac13e62ef2baf4d46e022d303edc3050.zip
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 @@
#include <linux/irqreturn.h>
#ifdef CONFIG_AMD_IOMMU
-extern int amd_iommu_init_dma_ops(void);
-extern int amd_iommu_init_passthrough(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);
-extern void amd_iommu_apply_erratum_63(u16 devid);
+
#else
+
static inline void amd_iommu_detect(void) { }
+
#endif
#endif /* _ASM_X86_AMD_IOMMU_H */
OpenPOWER on IntegriCloud