diff options
Diffstat (limited to 'include/linux/dmar.h')
-rw-r--r-- | include/linux/dmar.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/linux/dmar.h b/include/linux/dmar.h index 8a0238dd2c11..324bbca85a26 100644 --- a/include/linux/dmar.h +++ b/include/linux/dmar.h | |||
@@ -98,7 +98,19 @@ struct irte { | |||
98 | __u64 high; | 98 | __u64 high; |
99 | }; | 99 | }; |
100 | }; | 100 | }; |
101 | extern int get_irte(int irq, struct irte *entry); | ||
102 | extern int modify_irte(int irq, struct irte *irte_modified); | ||
103 | extern int alloc_irte(struct intel_iommu *iommu, int irq, u16 count); | ||
104 | extern int set_irte_irq(int irq, struct intel_iommu *iommu, u16 index, | ||
105 | u16 sub_handle); | ||
106 | extern int map_irq_to_irte_handle(int irq, u16 *sub_handle); | ||
107 | extern int clear_irte_irq(int irq, struct intel_iommu *iommu, u16 index); | ||
108 | extern int flush_irte(int irq); | ||
109 | extern int free_irte(int irq); | ||
110 | |||
111 | extern int irq_remapped(int irq); | ||
101 | #else | 112 | #else |
113 | #define irq_remapped(irq) (0) | ||
102 | #define enable_intr_remapping(mode) (-1) | 114 | #define enable_intr_remapping(mode) (-1) |
103 | #define intr_remapping_enabled (0) | 115 | #define intr_remapping_enabled (0) |
104 | #endif | 116 | #endif |