From: Ingo Molnar Date: Wed, 30 Jan 2008 12:33:24 +0000 (+0100) Subject: genirq: stackdump after the "Trying to free already-free IRQ" message X-Git-Tag: v2.6.25-rc1~1143^2~217 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=70edcd77a0d6d0f8731c826764f5eb6732f521e9;p=linux-2.6-omap-h63xx.git genirq: stackdump after the "Trying to free already-free IRQ" message these bugs are harder to find than they seem, a stackdump helps. make it dependent on CONFIG_DEBUG_SHIRQ so that people can turn it off if it annoys them. Signed-off-by: Ingo Molnar Signed-off-by: Thomas Gleixner --- diff --git a/kernel/irq/manage.c b/kernel/irq/manage.c index 1f314221d53..438a0146428 100644 --- a/kernel/irq/manage.c +++ b/kernel/irq/manage.c @@ -479,6 +479,9 @@ void free_irq(unsigned int irq, void *dev_id) return; } printk(KERN_ERR "Trying to free already-free IRQ %d\n", irq); +#ifdef CONFIG_DEBUG_SHIRQ + dump_stack(); +#endif spin_unlock_irqrestore(&desc->lock, flags); return; }