diff options
author | Fenghua Yu <fenghua.yu@intel.com> | 2009-03-27 17:22:44 -0400 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2009-04-03 16:45:59 -0400 |
commit | b24696bc55f66fecc30715e003f10fc2555a9271 (patch) | |
tree | 3ef565bf041a06106a73d0b27ccc256845ef5644 /include/linux/dmar.h | |
parent | eb4a52bc660ea835482c582eaaf4893742cbd160 (diff) |
Intel IOMMU Suspend/Resume Support - Interrupt Remapping
This patch enables suspend/resume for interrupt remapping. During suspend,
interrupt remapping is disabled. When resume, interrupt remapping is enabled
again.
Signed-off-by: Fenghua Yu <fenghua.yu@intel.com>
Acked-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'include/linux/dmar.h')
-rw-r--r-- | include/linux/dmar.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/dmar.h b/include/linux/dmar.h index 0b4aa8069985..4a0ce6f27e1b 100644 --- a/include/linux/dmar.h +++ b/include/linux/dmar.h | |||
@@ -108,6 +108,8 @@ struct irte { | |||
108 | #ifdef CONFIG_INTR_REMAP | 108 | #ifdef CONFIG_INTR_REMAP |
109 | extern int intr_remapping_enabled; | 109 | extern int intr_remapping_enabled; |
110 | extern int enable_intr_remapping(int); | 110 | extern int enable_intr_remapping(int); |
111 | extern void disable_intr_remapping(void); | ||
112 | extern int reenable_intr_remapping(int); | ||
111 | 113 | ||
112 | extern int get_irte(int irq, struct irte *entry); | 114 | extern int get_irte(int irq, struct irte *entry); |
113 | extern int modify_irte(int irq, struct irte *irte_modified); | 115 | extern int modify_irte(int irq, struct irte *irte_modified); |