diff options
-rw-r--r-- | arch/arm26/kernel/irq.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm26/kernel/irq.c b/arch/arm26/kernel/irq.c index f3cc1036e5bc..0934e6fba606 100644 --- a/arch/arm26/kernel/irq.c +++ b/arch/arm26/kernel/irq.c | |||
@@ -141,7 +141,7 @@ int show_interrupts(struct seq_file *p, void *v) | |||
141 | if (i < NR_IRQS) { | 141 | if (i < NR_IRQS) { |
142 | action = irq_desc[i].action; | 142 | action = irq_desc[i].action; |
143 | if (!action) | 143 | if (!action) |
144 | continue; | 144 | goto out; |
145 | seq_printf(p, "%3d: %10u ", i, kstat_irqs(i)); | 145 | seq_printf(p, "%3d: %10u ", i, kstat_irqs(i)); |
146 | seq_printf(p, " %s", action->name); | 146 | seq_printf(p, " %s", action->name); |
147 | for (action = action->next; action; action = action->next) { | 147 | for (action = action->next; action; action = action->next) { |
@@ -152,6 +152,7 @@ int show_interrupts(struct seq_file *p, void *v) | |||
152 | show_fiq_list(p, v); | 152 | show_fiq_list(p, v); |
153 | seq_printf(p, "Err: %10lu\n", irq_err_count); | 153 | seq_printf(p, "Err: %10lu\n", irq_err_count); |
154 | } | 154 | } |
155 | out: | ||
155 | return 0; | 156 | return 0; |
156 | } | 157 | } |
157 | 158 | ||