diff options
author | Fenghua Yu <fenghua.yu@intel.com> | 2009-03-27 14:22:44 -0700 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2009-04-03 21:45:59 +0100 |
commit | b24696bc55f66fecc30715e003f10fc2555a9271 (patch) | |
tree | 3ef565bf041a06106a73d0b27ccc256845ef5644 /include | |
parent | eb4a52bc660ea835482c582eaaf4893742cbd160 (diff) | |
download | kernel_samsung_smdk4412-b24696bc55f66fecc30715e003f10fc2555a9271.zip kernel_samsung_smdk4412-b24696bc55f66fecc30715e003f10fc2555a9271.tar.gz kernel_samsung_smdk4412-b24696bc55f66fecc30715e003f10fc2555a9271.tar.bz2 |
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')
-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 0b4aa80..4a0ce6f 100644 --- a/include/linux/dmar.h +++ b/include/linux/dmar.h @@ -108,6 +108,8 @@ struct irte { #ifdef CONFIG_INTR_REMAP extern int intr_remapping_enabled; extern int enable_intr_remapping(int); +extern void disable_intr_remapping(void); +extern int reenable_intr_remapping(int); extern int get_irte(int irq, struct irte *entry); extern int modify_irte(int irq, struct irte *irte_modified); |