Commit ef26f20c authored by Sebastian Andrzej Siewior's avatar Sebastian Andrzej Siewior Committed by Thomas Gleixner

genirq: Print threaded handler in spurious debug output

In forced threaded mode (or with an explicit threaded handler) we only
see the primary handler, but not the threaded handler.
Signed-off-by: default avatarSebastian Andrzej Siewior <sebastian@breakpoint.cc>
Link: http://lkml.kernel.org/r/1306824972-27067-1-git-send-email-sebastian@breakpoint.ccSigned-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent 1fa7b6a2
...@@ -201,10 +201,11 @@ __report_bad_irq(unsigned int irq, struct irq_desc *desc, ...@@ -201,10 +201,11 @@ __report_bad_irq(unsigned int irq, struct irq_desc *desc,
raw_spin_lock_irqsave(&desc->lock, flags); raw_spin_lock_irqsave(&desc->lock, flags);
action = desc->action; action = desc->action;
while (action) { while (action) {
printk(KERN_ERR "[<%p>]", action->handler); printk(KERN_ERR "[<%p>] %pf", action->handler, action->handler);
print_symbol(" (%s)", if (action->thread_fn)
(unsigned long)action->handler); printk(KERN_CONT " threaded [<%p>] %pf",
printk("\n"); action->thread_fn, action->thread_fn);
printk(KERN_CONT "\n");
action = action->next; action = action->next;
} }
raw_spin_unlock_irqrestore(&desc->lock, flags); raw_spin_unlock_irqrestore(&desc->lock, flags);
......
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