lkml.org 
[lkml]   [2008]   [Aug]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 3/5] x86: irq: interrupt array size should be NR_VECTORS
Date
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>

---
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];

\
 
 \ /
  Last update: 2008-08-16 12:11    [W:0.089 / U:0.796 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site