From: Yinghai Lu Date: Wed, 20 Aug 2008 03:50:46 +0000 (-0700) Subject: x86: irq: interrupt array size should be NR_VECTORS X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=bcd562607f17b0c9f9ae96af849894dd06645f63;p=deliverable%2Flinux.git x86: irq: interrupt array size should be NR_VECTORS Signed-off-by: Yinghai Lu Signed-off-by: Ingo Molnar --- 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];