summaryrefslogtreecommitdiffstats
path: root/kernel/irq/manage.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2006-06-29 02:24:44 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2006-06-29 10:26:23 -0700
commit096c8131c573ed37939dc3f1440221c92c87e74b (patch)
treeb26b23978a4118e0fae1cf19065e3a23d40159c1 /kernel/irq/manage.c
parent0d7012a968d006e277eb0fe20edd7a9b5563c2b7 (diff)
downloadlinux-096c8131c573ed37939dc3f1440221c92c87e74b.tar.gz
linux-096c8131c573ed37939dc3f1440221c92c87e74b.tar.bz2
linux-096c8131c573ed37939dc3f1440221c92c87e74b.zip
[PATCH] genirq: debug: better debug printout in enable_irq()
Make enable_irq() debug printouts user-readable. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'kernel/irq/manage.c')
-rw-r--r--kernel/irq/manage.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/irq/manage.c b/kernel/irq/manage.c
index 8389d1817fe8..76c8eda67295 100644
--- a/kernel/irq/manage.c
+++ b/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: {