aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/x86/kernel/io_apic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kernel/io_apic.c b/arch/x86/kernel/io_apic.c
index d7f0993b8056..3d7d0d55253f 100644
--- a/arch/x86/kernel/io_apic.c
+++ b/arch/x86/kernel/io_apic.c
@@ -2292,7 +2292,7 @@ static void set_ir_ioapic_affinity_irq_desc(struct irq_desc *desc,
2292 return; 2292 return;
2293 } 2293 }
2294 2294
2295 migrate_ioapic_irq_desc(desc, mask); 2295 migrate_ioapic_irq_desc(desc, *mask);
2296} 2296}
2297static void set_ir_ioapic_affinity_irq(unsigned int irq, 2297static void set_ir_ioapic_affinity_irq(unsigned int irq,
2298 const struct cpumask *mask) 2298 const struct cpumask *mask)
@@ -3203,7 +3203,7 @@ static void ir_set_msi_irq_affinity(unsigned int irq,
3203 if (assign_irq_vector(irq, cfg, *mask)) 3203 if (assign_irq_vector(irq, cfg, *mask))
3204 return; 3204 return;
3205 3205
3206 set_extra_move_desc(desc, mask); 3206 set_extra_move_desc(desc, *mask);
3207 3207
3208 cpumask_and(&tmp, &cfg->domain, mask); 3208 cpumask_and(&tmp, &cfg->domain, mask);
3209 dest = cpu_mask_to_apicid(tmp); 3209 dest = cpu_mask_to_apicid(tmp);