[PATCH 3/5] x86: irq: interrupt array size should be NR_VECTORS

From: Yinghai Lu
Date: Sat Aug 16 2008 - 06:09:31 EST


Signed-off-by: Yinghai Lu <yhlu.kernel@xxxxxxxxx>

---
drivers/pci/intr_remapping.c | 2 +-
include/asm-x86/hw_irq.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

Index: linux-2.6/include/asm-x86/hw_irq.h
===================================================================
--- linux-2.6.orig/include/asm-x86/hw_irq.h
+++ linux-2.6/include/asm-x86/hw_irq.h
@@ -115,7 +115,7 @@ extern asmlinkage void smp_invalidate_in
#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];
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/