aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/apic/io_apic.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 /arch/x86/kernel/apic/io_apic.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 'arch/x86/kernel/apic/io_apic.c')
-rw-r--r--arch/x86/kernel/apic/io_apic.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/x86/kernel/apic/io_apic.c b/arch/x86/kernel/apic/io_apic.c
index e75d7e2223fe..620da6fed6b7 100644
--- a/arch/x86/kernel/apic/io_apic.c
+++ b/arch/x86/kernel/apic/io_apic.c
@@ -2254,7 +2254,7 @@ ioapic_set_affinity(struct irq_data *data, const struct cpumask *mask,
2254 return ret; 2254 return ret;
2255} 2255}
2256 2256
2257#ifdef CONFIG_INTR_REMAP 2257#ifdef CONFIG_IRQ_REMAP
2258 2258
2259/* 2259/*
2260 * Migrate the IO-APIC irq in the presence of intr-remapping. 2260 * Migrate the IO-APIC irq in the presence of intr-remapping.
@@ -2560,7 +2560,7 @@ static void ack_apic_level(struct irq_data *data)
2560 } 2560 }
2561} 2561}
2562 2562
2563#ifdef CONFIG_INTR_REMAP 2563#ifdef CONFIG_IRQ_REMAP
2564static void ir_ack_apic_edge(struct irq_data *data) 2564static void ir_ack_apic_edge(struct irq_data *data)
2565{ 2565{
2566 ack_APIC_irq(); 2566 ack_APIC_irq();
@@ -2587,7 +2587,7 @@ static void irq_remap_modify_chip_defaults(struct irq_chip *chip)
2587 chip->irq_set_affinity = ir_ioapic_set_affinity; 2587 chip->irq_set_affinity = ir_ioapic_set_affinity;
2588#endif 2588#endif
2589} 2589}
2590#endif /* CONFIG_INTR_REMAP */ 2590#endif /* CONFIG_IRQ_REMAP */
2591 2591
2592static struct irq_chip ioapic_chip __read_mostly = { 2592static struct irq_chip ioapic_chip __read_mostly = {
2593 .name = "IO-APIC", 2593 .name = "IO-APIC",
@@ -3285,7 +3285,7 @@ void native_teardown_msi_irq(unsigned int irq)
3285 destroy_irq(irq); 3285 destroy_irq(irq);
3286} 3286}
3287 3287
3288#if defined (CONFIG_DMAR) || defined (CONFIG_INTR_REMAP) 3288#ifdef CONFIG_DMAR_TABLE
3289#ifdef CONFIG_SMP 3289#ifdef CONFIG_SMP
3290static int 3290static int
3291dmar_msi_set_affinity(struct irq_data *data, const struct cpumask *mask, 3291dmar_msi_set_affinity(struct irq_data *data, const struct cpumask *mask,