diff options
author | Uwe Kleine-König <Uwe.Kleine-Koenig@digi.com> | 2008-04-25 09:16:17 -0400 |
---|---|---|
committer | Uwe Kleine-König <Uwe.Kleine-Koenig@digi.com> | 2008-04-25 09:45:08 -0400 |
commit | a57a0b1d0f66da5ff5dc8f1a5a999f4d2f66090a (patch) | |
tree | 8e80fbd0600b7f4be3967311961c118b7db013a2 /arch/arm | |
parent | a13c81952444d032ad3b5b7027b330150dbe2408 (diff) |
ns9xxx: check for irq lockups
When I copy-adapted handle_level_irq I skipped note_interrupt because
I considered it unimportant. If I had understand its importance I would
have saved myself some ours of debugging.
Signed-off-by: Uwe Kleine-König <Uwe.Kleine-Koenig@digi.com>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mach-ns9xxx/irq.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-ns9xxx/irq.c b/arch/arm/mach-ns9xxx/irq.c index ba7a9e4888f0..75f2070dec7b 100644 --- a/arch/arm/mach-ns9xxx/irq.c +++ b/arch/arm/mach-ns9xxx/irq.c | |||
@@ -78,6 +78,11 @@ void handle_prio_irq(unsigned int irq, struct irq_desc *desc) | |||
78 | 78 | ||
79 | action_ret = handle_IRQ_event(irq, action); | 79 | action_ret = handle_IRQ_event(irq, action); |
80 | 80 | ||
81 | /* XXX: There is no direct way to access noirqdebug, so check | ||
82 | * unconditionally for spurious irqs... | ||
83 | * Maybe this function should go to kernel/irq/chip.c? */ | ||
84 | note_interrupt(irq, desc, action_ret); | ||
85 | |||
81 | spin_lock(&desc->lock); | 86 | spin_lock(&desc->lock); |
82 | desc->status &= ~IRQ_INPROGRESS; | 87 | desc->status &= ~IRQ_INPROGRESS; |
83 | 88 | ||