aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iommu/intel-iommu.c
diff options
context:
space:
mode:
authorSuresh Siddha <suresh.b.siddha@intel.com>2011-08-23 20:05:25 -0400
committerIngo Molnar <mingo@elte.hu>2011-09-21 04:22:03 -0400
commitd3f138106b4b40640dc667f0222fd9f137387b32 (patch)
tree2c5d51deff32ec0999493bbb73cb18a7e4a455c3 /drivers/iommu/intel-iommu.c
parentc39d77ffa28c6e72702193df4fa53928c1b6f3e6 (diff)
iommu: Rename the DMAR and INTR_REMAP config options
Change the CONFIG_DMAR to CONFIG_INTEL_IOMMU to be consistent with the other IOMMU options. Rename the CONFIG_INTR_REMAP to CONFIG_IRQ_REMAP to match the irq subsystem name. And define the CONFIG_DMAR_TABLE for the common ACPI DMAR routines shared by both CONFIG_INTEL_IOMMU and CONFIG_IRQ_REMAP. Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com> Cc: yinghai@kernel.org Cc: youquan.song@intel.com Cc: joerg.roedel@amd.com Cc: tony.luck@intel.com Cc: dwmw2@infradead.org Link: http://lkml.kernel.org/r/20110824001456.558630224@sbsiddha-desk.sc.intel.com Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'drivers/iommu/intel-iommu.c')
-rw-r--r--drivers/iommu/intel-iommu.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/iommu/intel-iommu.c b/drivers/iommu/intel-iommu.c
index e8eb4c5302b0..4e249edd2290 100644
--- a/drivers/iommu/intel-iommu.c
+++ b/drivers/iommu/intel-iommu.c
@@ -393,11 +393,11 @@ static long list_size;
393 393
394static void domain_remove_dev_info(struct dmar_domain *domain); 394static void domain_remove_dev_info(struct dmar_domain *domain);
395 395
396#ifdef CONFIG_DMAR_DEFAULT_ON 396#ifdef CONFIG_INTEL_IOMMU_DEFAULT_ON
397int dmar_disabled = 0; 397int dmar_disabled = 0;
398#else 398#else
399int dmar_disabled = 1; 399int dmar_disabled = 1;
400#endif /*CONFIG_DMAR_DEFAULT_ON*/ 400#endif /*CONFIG_INTEL_IOMMU_DEFAULT_ON*/
401 401
402static int dmar_map_gfx = 1; 402static int dmar_map_gfx = 1;
403static int dmar_forcedac; 403static int dmar_forcedac;
@@ -2150,7 +2150,7 @@ static inline int iommu_prepare_rmrr_dev(struct dmar_rmrr_unit *rmrr,
2150 rmrr->end_address); 2150 rmrr->end_address);
2151} 2151}
2152 2152
2153#ifdef CONFIG_DMAR_FLOPPY_WA 2153#ifdef CONFIG_INTEL_IOMMU_FLOPPY_WA
2154static inline void iommu_prepare_isa(void) 2154static inline void iommu_prepare_isa(void)
2155{ 2155{
2156 struct pci_dev *pdev; 2156 struct pci_dev *pdev;
@@ -2173,7 +2173,7 @@ static inline void iommu_prepare_isa(void)
2173{ 2173{
2174 return; 2174 return;
2175} 2175}
2176#endif /* !CONFIG_DMAR_FLPY_WA */ 2176#endif /* !CONFIG_INTEL_IOMMU_FLPY_WA */
2177 2177
2178static int md_domain_init(struct dmar_domain *domain, int guest_width); 2178static int md_domain_init(struct dmar_domain *domain, int guest_width);
2179 2179
@@ -2484,7 +2484,7 @@ static int __init init_dmars(void)
2484 if (iommu_pass_through) 2484 if (iommu_pass_through)
2485 iommu_identity_mapping |= IDENTMAP_ALL; 2485 iommu_identity_mapping |= IDENTMAP_ALL;
2486 2486
2487#ifdef CONFIG_DMAR_BROKEN_GFX_WA 2487#ifdef CONFIG_INTEL_IOMMU_BROKEN_GFX_WA
2488 iommu_identity_mapping |= IDENTMAP_GFX; 2488 iommu_identity_mapping |= IDENTMAP_GFX;
2489#endif 2489#endif
2490 2490