projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
17abecf
)
genirq: stackdump after the "Trying to free already-free IRQ" message
author
Ingo Molnar
<mingo@elte.hu>
Wed, 30 Jan 2008 12:33:24 +0000
(13:33 +0100)
committer
Ingo Molnar
<mingo@elte.hu>
Wed, 30 Jan 2008 12:33:24 +0000
(13:33 +0100)
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 <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/irq/manage.c
patch
|
blob
|
blame
|
history
diff --git
a/kernel/irq/manage.c
b/kernel/irq/manage.c
index 1f314221d534be091d809628b39f12ccba4e997e..438a01464287fc391b8da015fbe7c80a666c4928 100644
(file)
--- 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;
}