diff options
Diffstat (limited to 'arch/arm/common/fiq_debugger.c')
-rw-r--r-- | arch/arm/common/fiq_debugger.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/arch/arm/common/fiq_debugger.c b/arch/arm/common/fiq_debugger.c index 053680b6c32..5e9005bfdbb 100644 --- a/arch/arm/common/fiq_debugger.c +++ b/arch/arm/common/fiq_debugger.c | |||
@@ -374,16 +374,17 @@ static void dump_allregs(struct fiq_debugger_state *state, unsigned *regs) | |||
374 | static void dump_irqs(struct fiq_debugger_state *state) | 374 | static void dump_irqs(struct fiq_debugger_state *state) |
375 | { | 375 | { |
376 | int n; | 376 | int n; |
377 | struct irq_desc *desc; | ||
377 | 378 | ||
378 | debug_printf(state, "irqnr total since-last status name\n"); | 379 | debug_printf(state, "irqnr total since-last status name\n"); |
379 | for (n = 0; n < NR_IRQS; n++) { | 380 | for_each_irq_desc(n, desc) { |
380 | struct irqaction *act = irq_desc[n].action; | 381 | struct irqaction *act = desc->action; |
381 | if (!act && !kstat_irqs(n)) | 382 | if (!act && !kstat_irqs(n)) |
382 | continue; | 383 | continue; |
383 | debug_printf(state, "%5d: %10u %11u %8x %s\n", n, | 384 | debug_printf(state, "%5d: %10u %11u %8x %s\n", n, |
384 | kstat_irqs(n), | 385 | kstat_irqs(n), |
385 | kstat_irqs(n) - state->last_irqs[n], | 386 | kstat_irqs(n) - state->last_irqs[n], |
386 | irq_desc[n].status_use_accessors, | 387 | desc->status_use_accessors, |
387 | (act && act->name) ? act->name : "???"); | 388 | (act && act->name) ? act->name : "???"); |
388 | state->last_irqs[n] = kstat_irqs(n); | 389 | state->last_irqs[n] = kstat_irqs(n); |
389 | } | 390 | } |