diff options
Diffstat (limited to 'include/asm-x86/iommu.h')
-rw-r--r-- | include/asm-x86/iommu.h | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/include/asm-x86/iommu.h b/include/asm-x86/iommu.h deleted file mode 100644 index 2daaffcda52f..000000000000 --- a/include/asm-x86/iommu.h +++ /dev/null | |||
@@ -1,50 +0,0 @@ | |||
1 | #ifndef ASM_X86__IOMMU_H | ||
2 | #define ASM_X86__IOMMU_H | ||
3 | |||
4 | extern void pci_iommu_shutdown(void); | ||
5 | extern void no_iommu_init(void); | ||
6 | extern struct dma_mapping_ops nommu_dma_ops; | ||
7 | extern int force_iommu, no_iommu; | ||
8 | extern int iommu_detected; | ||
9 | extern int dmar_disabled; | ||
10 | extern int forbid_dac; | ||
11 | |||
12 | extern unsigned long iommu_nr_pages(unsigned long addr, unsigned long len); | ||
13 | |||
14 | /* 10 seconds */ | ||
15 | #define DMAR_OPERATION_TIMEOUT ((cycles_t) tsc_khz*10*1000) | ||
16 | |||
17 | #ifdef CONFIG_GART_IOMMU | ||
18 | extern int gart_iommu_aperture; | ||
19 | extern int gart_iommu_aperture_allowed; | ||
20 | extern int gart_iommu_aperture_disabled; | ||
21 | |||
22 | extern void early_gart_iommu_check(void); | ||
23 | extern void gart_iommu_init(void); | ||
24 | extern void gart_iommu_shutdown(void); | ||
25 | extern void __init gart_parse_options(char *); | ||
26 | extern void gart_iommu_hole_init(void); | ||
27 | |||
28 | #else | ||
29 | #define gart_iommu_aperture 0 | ||
30 | #define gart_iommu_aperture_allowed 0 | ||
31 | #define gart_iommu_aperture_disabled 1 | ||
32 | |||
33 | static inline void early_gart_iommu_check(void) | ||
34 | { | ||
35 | } | ||
36 | static inline void gart_iommu_init(void) | ||
37 | { | ||
38 | } | ||
39 | static inline void gart_iommu_shutdown(void) | ||
40 | { | ||
41 | } | ||
42 | static inline void gart_parse_options(char *options) | ||
43 | { | ||
44 | } | ||
45 | static inline void gart_iommu_hole_init(void) | ||
46 | { | ||
47 | } | ||
48 | #endif | ||
49 | |||
50 | #endif /* ASM_X86__IOMMU_H */ | ||