Skip to content

Commit

Permalink
x86: irq: interrupt array size should be NR_VECTORS
Browse files Browse the repository at this point in the history
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Yinghai Lu authored and Ingo Molnar committed Oct 16, 2008
1 parent 42379b1 commit bcd5626
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/asm-x86/hw_irq.h
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ extern asmlinkage void smp_invalidate_interrupt(struct pt_regs *);
#endif

#ifdef CONFIG_X86_32
extern void (*const interrupt[NR_IRQS])(void);
extern void (*const interrupt[NR_VECTORS])(void);
#endif

typedef int vector_irq_t[NR_VECTORS];
Expand Down

0 comments on commit bcd5626

Please sign in to comment.