Skip to content

Commit 5a30a78

Browse files
committed
Merge tag 'x86-urgent-2020-08-02' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull x86 fix from Ingo Molnar: "A single fix for a potential deadlock when printing a message about spurious interrupts" * tag 'x86-urgent-2020-08-02' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: x86/i8259: Use printk_deferred() to prevent deadlock
2 parents 142c332 + bdd6558 commit 5a30a78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/x86/kernel/i8259.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ static void mask_and_ack_8259A(struct irq_data *data)
207207
* lets ACK and report it. [once per IRQ]
208208
*/
209209
if (!(spurious_irq_mask & irqmask)) {
210-
printk(KERN_DEBUG
210+
printk_deferred(KERN_DEBUG
211211
"spurious 8259A interrupt: IRQ%d.\n", irq);
212212
spurious_irq_mask |= irqmask;
213213
}

0 commit comments

Comments
 (0)