aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/irq
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <sebastian@breakpoint.cc>2011-05-31 02:56:10 -0400
committerThomas Gleixner <tglx@linutronix.de>2011-06-03 08:53:15 -0400
commitef26f20cd117eb3c185038ed7cbf7b235575751d (patch)
tree630c5b348bb2dc7abbb3bd820a51a6fa8c6e5c5d /kernel/irq
parent1fa7b6a29c61358cc2ca6f64cef4aa0e1a7ca74c (diff)
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>
Diffstat (limited to 'kernel/irq')
-rw-r--r--kernel/irq/spurious.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/kernel/irq/spurious.c b/kernel/irq/spurious.c
index dfbd550401b2..c9a78ba30b6f 100644
--- a/kernel/irq/spurious.c
+++ b/kernel/irq/spurious.c
@@ -201,10 +201,11 @@ __report_bad_irq(unsigned int irq, struct irq_desc *desc,
201 raw_spin_lock_irqsave(&desc->lock, flags); 201 raw_spin_lock_irqsave(&desc->lock, flags);
202 action = desc->action; 202 action = desc->action;
203 while (action) { 203 while (action) {
204 printk(KERN_ERR "[<%p>]", action->handler); 204 printk(KERN_ERR "[<%p>] %pf", action->handler, action->handler);
205 print_symbol(" (%s)", 205 if (action->thread_fn)
206 (unsigned long)action->handler); 206 printk(KERN_CONT " threaded [<%p>] %pf",
207 printk("\n"); 207 action->thread_fn, action->thread_fn);
208 printk(KERN_CONT "\n");
208 action = action->next; 209 action = action->next;
209 } 210 }
210 raw_spin_unlock_irqrestore(&desc->lock, flags); 211 raw_spin_unlock_irqrestore(&desc->lock, flags);