git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git]
/
arch
/
arm
/
kernel
/
irq.c
diff --git
a/arch/arm/kernel/irq.c
b/arch/arm/kernel/irq.c
index
2d5896b
..
1d50d2b
100644
(file)
--- a/
arch/arm/kernel/irq.c
+++ b/
arch/arm/kernel/irq.c
@@
-305,19
+305,14
@@
report_bad_irq(unsigned int irq, struct pt_regs *regs, struct irqdesc *desc, int
static int count = 100;
struct irqaction *action;
static int count = 100;
struct irqaction *action;
- if (noirqdebug)
+ if (
!count ||
noirqdebug)
return;
return;
+ count--;
+
if (ret != IRQ_HANDLED && ret != IRQ_NONE) {
if (ret != IRQ_HANDLED && ret != IRQ_NONE) {
- if (!count)
- return;
- count--;
printk("irq%u: bogus retval mask %x\n", irq, ret);
} else {
printk("irq%u: bogus retval mask %x\n", irq, ret);
} else {
- desc->irqs_unhandled++;
- if (desc->irqs_unhandled <= 99900)
- return;
- desc->irqs_unhandled = 0;
printk("irq%u: nobody cared\n", irq);
}
show_regs(regs);
printk("irq%u: nobody cared\n", irq);
}
show_regs(regs);