aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86/hw_irq.h
diff options
context:
space:
mode:
authorYinghai Lu <yhlu.kernel@gmail.com>2008-08-19 23:50:46 -0400
committerIngo Molnar <mingo@elte.hu>2008-10-16 10:52:56 -0400
commitbcd562607f17b0c9f9ae96af849894dd06645f63 (patch)
tree4bca10915c8c80142a108bf19425fa77bb440cec /include/asm-x86/hw_irq.h
parent42379b1122bab7f9aefdbd4b7004a6fa89dfbae5 (diff)
x86: irq: interrupt array size should be NR_VECTORS
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/asm-x86/hw_irq.h')
-rw-r--r--include/asm-x86/hw_irq.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-x86/hw_irq.h b/include/asm-x86/hw_irq.h
index 51c787d17cbc..39c7a4745d25 100644
--- a/include/asm-x86/hw_irq.h
+++ b/include/asm-x86/hw_irq.h
@@ -115,7 +115,7 @@ extern asmlinkage void smp_invalidate_interrupt(struct pt_regs *);
115#endif 115#endif
116 116
117#ifdef CONFIG_X86_32 117#ifdef CONFIG_X86_32
118extern void (*const interrupt[NR_IRQS])(void); 118extern void (*const interrupt[NR_VECTORS])(void);
119#endif 119#endif
120 120
121typedef int vector_irq_t[NR_VECTORS]; 121typedef int vector_irq_t[NR_VECTORS];