aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/x86/kernel/irq.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kernel/irq.c b/arch/x86/kernel/irq.c
index 3ea66556e5e1..342bcbca19b4 100644
--- a/arch/x86/kernel/irq.c
+++ b/arch/x86/kernel/irq.c
@@ -310,7 +310,7 @@ void fixup_irqs(void)
310 affinity = cpu_all_mask; 310 affinity = cpu_all_mask;
311 } 311 }
312 312
313 if (desc->chip->mask) 313 if (!(desc->status & IRQ_MOVE_PCNTXT) && desc->chip->mask)
314 desc->chip->mask(irq); 314 desc->chip->mask(irq);
315 315
316 if (desc->chip->set_affinity) 316 if (desc->chip->set_affinity)
@@ -318,7 +318,7 @@ void fixup_irqs(void)
318 else if (!(warned++)) 318 else if (!(warned++))
319 set_affinity = 0; 319 set_affinity = 0;
320 320
321 if (desc->chip->unmask) 321 if (!(desc->status & IRQ_MOVE_PCNTXT) && desc->chip->unmask)
322 desc->chip->unmask(irq); 322 desc->chip->unmask(irq);
323 323
324 spin_unlock(&desc->lock); 324 spin_unlock(&desc->lock);