projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d7012a
)
[PATCH] genirq: debug: better debug printout in enable_irq()
author
Thomas Gleixner
<tglx@linutronix.de>
Thu, 29 Jun 2006 09:24:44 +0000
(
02:24
-0700)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Thu, 29 Jun 2006 17:26:23 +0000
(10:26 -0700)
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>
kernel/irq/manage.c
patch
|
blob
|
blame
|
history
diff --git
a/kernel/irq/manage.c
b/kernel/irq/manage.c
index 8389d1817fe87702dcdf19830996b4fad88570dc..76c8eda67295ceaafec8a38cc398b53057495350 100644
(file)
--- 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: {