mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
[PATCH] genirq: debug: better debug printout in enable_irq()
Make enable_irq() debug printouts user-readable. Signed-off-by: Thomas Gleixner <[email protected]> Signed-off-by: Ingo Molnar <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
0d7012a968
commit
096c8131c5
1 changed files with 1 additions and 0 deletions
|
|
@ -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: {
|
||||
|
|
|
|||
Loading…
Reference in a new issue