summaryrefslogtreecommitdiff
path: root/include/asm-x86
diff options
context:
space:
mode:
authorYinghai Lu <yhlu.kernel@gmail.com>2008-08-20 07:50:46 +0400
committerIngo Molnar <mingo@elte.hu>2008-10-16 18:52:56 +0400
commitbcd562607f17b0c9f9ae96af849894dd06645f63 (patch)
tree4bca10915c8c80142a108bf19425fa77bb440cec /include/asm-x86
parent42379b1122bab7f9aefdbd4b7004a6fa89dfbae5 (diff)
downloadlinux-bcd562607f17b0c9f9ae96af849894dd06645f63.tar.xz
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')
-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 *);
#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];