* [patch 10/50] genirq: debug: better debug printout in enable_irq()
@ 2006-05-17 0:15 Ingo Molnar
0 siblings, 0 replies; only message in thread
From: Ingo Molnar @ 2006-05-17 0:15 UTC (permalink / raw)
To: linux-kernel
Cc: Thomas Gleixner, Benjamin Herrenschmidt, Russell King,
Andrew Morton, Christoph Hellwig, linux-arm-kernel
From: Thomas Gleixner <tglx@linutronix.de>
make enable_irq() debug printouts user-readable.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
---
kernel/irq/manage.c | 1 +
1 file changed, 1 insertion(+)
Index: linux-genirq.q/kernel/irq/manage.c
===================================================================
--- linux-genirq.q.orig/kernel/irq/manage.c
+++ linux-genirq.q/kernel/irq/manage.c
@@ -114,6 +114,7 @@ void enable_irq(unsigned int irq)
spin_lock_irqsave(&desc->lock, flags);
switch (desc->depth) {
case 0:
+ printk(KERN_WARNING "Unablanced enable_irq(%d)\n", irq);
WARN_ON(1);
break;
case 1: {
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-05-17 0:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-17 0:15 [patch 10/50] genirq: debug: better debug printout in enable_irq() Ingo Molnar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®