Commit 7aae857c authored by Pete Zaitcev's avatar Pete Zaitcev Committed by David S. Miller

[SPARC]: kill NR_IRQS + 1 stuff.

parent a7d3162c
......@@ -95,7 +95,7 @@ void (*sparc_init_timers)(void (*)(int, void *,struct pt_regs *)) =
struct irqaction static_irqaction[MAX_STATIC_ALLOC];
int static_irq_count;
struct irqaction *irq_action[NR_IRQS+1] = {
struct irqaction *irq_action[NR_IRQS] = {
NULL, NULL, NULL, NULL, NULL, NULL , NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL , NULL, NULL
};
......@@ -113,7 +113,7 @@ int show_interrupts(struct seq_file *p, void *v)
return show_sun4d_interrupts(p, v);
}
for (i = 0 ; i < (NR_IRQS+1) ; i++) {
for (i = 0 ; i < NR_IRQS ; i++) {
action = *(i + irq_action);
if (!action)
continue;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment