From: Thomas Gleixner Date: Thu, 29 Jun 2006 09:24:44 +0000 (-0700) Subject: [PATCH] genirq: debug: better debug printout in enable_irq() X-Git-Tag: v2.6.18-rc1~384 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=096c8131c573ed37939dc3f1440221c92c87e74b;p=linux-2.6 [PATCH] genirq: debug: better debug printout in enable_irq() Make enable_irq() debug printouts user-readable. Signed-off-by: Thomas Gleixner Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/kernel/irq/manage.c b/kernel/irq/manage.c index 8389d1817f..76c8eda672 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: {