aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/dmar.h
diff options
context:
space:
mode:
authorFenghua Yu <fenghua.yu@intel.com>2009-03-27 17:22:44 -0400
committerDavid Woodhouse <David.Woodhouse@intel.com>2009-04-03 16:45:59 -0400
commitb24696bc55f66fecc30715e003f10fc2555a9271 (patch)
tree3ef565bf041a06106a73d0b27ccc256845ef5644 /include/linux/dmar.h
parenteb4a52bc660ea835482c582eaaf4893742cbd160 (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.h2
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
109extern int intr_remapping_enabled; 109extern int intr_remapping_enabled;
110extern int enable_intr_remapping(int); 110extern int enable_intr_remapping(int);
111extern void disable_intr_remapping(void);
112extern int reenable_intr_remapping(int);
111 113
112extern int get_irte(int irq, struct irte *entry); 114extern int get_irte(int irq, struct irte *entry);
113extern int modify_irte(int irq, struct irte *irte_modified); 115extern int modify_irte(int irq, struct irte *irte_modified);