Skip to content

Commit ef26f20

Browse files
sebastianasKAGA-KOKO
authored andcommitted
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: Sebastian Andrzej Siewior <sebastian@breakpoint.cc> Link: http://lkml.kernel.org/r/1306824972-27067-1-git-send-email-sebastian@breakpoint.cc Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
1 parent 1fa7b6a commit ef26f20

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

‎kernel/irq/spurious.c‎

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -201,10 +201,11 @@ __report_bad_irq(unsigned int irq, struct irq_desc *desc,
201201
raw_spin_lock_irqsave(&desc->lock, flags);
202202
action = desc->action;
203203
while (action) {
204-
printk(KERN_ERR "[<%p>]", action->handler);
205-
print_symbol(" (%s)",
206-
(unsigned long)action->handler);
207-
printk("\n");
204+
printk(KERN_ERR "[<%p>] %pf", action->handler, action->handler);
205+
if (action->thread_fn)
206+
printk(KERN_CONT " threaded [<%p>] %pf",
207+
action->thread_fn, action->thread_fn);
208+
printk(KERN_CONT "\n");
208209
action = action->next;
209210
}
210211
raw_spin_unlock_irqrestore(&desc->lock, flags);

0 commit comments

Comments
 (0)