diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2006-06-29 11:24:44 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-29 19:26:23 +0200 |
commit | 096c8131c573ed37939dc3f1440221c92c87e74b (patch) | |
tree | b26b23978a4118e0fae1cf19065e3a23d40159c1 /kernel | |
parent | [PATCH] genirq: cleanup: turn ARCH_HAS_IRQ_PER_CPU into CONFIG_IRQ_PER_CPU (diff) | |
download | linux-096c8131c573ed37939dc3f1440221c92c87e74b.tar.xz 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')
-rw-r--r-- | kernel/irq/manage.c | 1 |
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: { |