diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-i386/hw_irq.h | 3 | ||||
-rw-r--r-- | include/asm-x86_64/hw_irq.h | 2 |
2 files changed, 0 insertions, 5 deletions
diff --git a/include/asm-i386/hw_irq.h b/include/asm-i386/hw_irq.h index 8806c7e002a7..0bedbdf5e907 100644 --- a/include/asm-i386/hw_irq.h +++ b/include/asm-i386/hw_irq.h | |||
@@ -26,9 +26,6 @@ | |||
26 | * Interrupt entry/exit code at both C and assembly level | 26 | * Interrupt entry/exit code at both C and assembly level |
27 | */ | 27 | */ |
28 | 28 | ||
29 | extern u8 irq_vector[NR_IRQ_VECTORS]; | ||
30 | #define IO_APIC_VECTOR(irq) (irq_vector[irq]) | ||
31 | |||
32 | extern void (*interrupt[NR_IRQS])(void); | 29 | extern void (*interrupt[NR_IRQS])(void); |
33 | 30 | ||
34 | #ifdef CONFIG_SMP | 31 | #ifdef CONFIG_SMP |
diff --git a/include/asm-x86_64/hw_irq.h b/include/asm-x86_64/hw_irq.h index 53d0d9fd10d6..792dd52fcd70 100644 --- a/include/asm-x86_64/hw_irq.h +++ b/include/asm-x86_64/hw_irq.h | |||
@@ -74,10 +74,8 @@ | |||
74 | 74 | ||
75 | 75 | ||
76 | #ifndef __ASSEMBLY__ | 76 | #ifndef __ASSEMBLY__ |
77 | extern unsigned int irq_vector[NR_IRQ_VECTORS]; | ||
78 | typedef int vector_irq_t[NR_VECTORS]; | 77 | typedef int vector_irq_t[NR_VECTORS]; |
79 | DECLARE_PER_CPU(vector_irq_t, vector_irq); | 78 | DECLARE_PER_CPU(vector_irq_t, vector_irq); |
80 | #define IO_APIC_VECTOR(irq) (irq_vector[irq]) | ||
81 | 79 | ||
82 | /* | 80 | /* |
83 | * Various low-level irq details needed by irq.c, process.c, | 81 | * Various low-level irq details needed by irq.c, process.c, |