projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
x86: irq: interrupt array size should be NR_VECTORS
[deliverable/linux.git]
/
include
/
asm-x86
/
hw_irq.h
diff --git
a/include/asm-x86/hw_irq.h
b/include/asm-x86/hw_irq.h
index 50f6e0316b5029c4c2e5801bcd256119c3f037aa..39c7a4745d2542e1a6f29ea80c42988275d0fac9 100644
(file)
--- a/
include/asm-x86/hw_irq.h
+++ b/
include/asm-x86/hw_irq.h
@@
-115,13
+115,13
@@
extern asmlinkage void smp_invalidate_interrupt(struct pt_regs *);
#endif
#ifdef CONFIG_X86_32
#endif
#ifdef CONFIG_X86_32
-extern void (*const interrupt[NR_IRQS])(void);
-#else
+extern void (*const interrupt[NR_VECTORS])(void);
+#endif
+
typedef int vector_irq_t[NR_VECTORS];
DECLARE_PER_CPU(vector_irq_t, vector_irq);
typedef int vector_irq_t[NR_VECTORS];
DECLARE_PER_CPU(vector_irq_t, vector_irq);
-#endif
-#if
defined(CONFIG_X86_IO_APIC) && defined(CONFIG_X86_64)
+#if
def CONFIG_X86_IO_APIC
extern void lock_vector_lock(void);
extern void unlock_vector_lock(void);
extern void __setup_vector_irq(int cpu);
extern void lock_vector_lock(void);
extern void unlock_vector_lock(void);
extern void __setup_vector_irq(int cpu);
This page took
0.024857 seconds
and
5
git commands to generate.