Commit 68d8610f authored by Linus Torvalds's avatar Linus Torvalds

Fix irq event debug print-out, and add stack dump which can

give a clue about what the context was that might have caused
the spurious interrupt.
parent b32eaf48
......@@ -221,13 +221,14 @@ int handle_IRQ_event(unsigned int irq, struct pt_regs * regs, struct irqaction *
local_irq_disable();
if (retval != 1) {
static int count = 100;
while (count) {
if (count) {
count--;
printk(retval
? "irq event %d: bogus retval mask %x\n"
: "irq %d: nobody cared!\n",
irq,
retval);
dump_stack();
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment