diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2006-10-08 09:43:46 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-08 15:24:02 -0400 |
commit | b940d22d58c41b2ae491dca9232850f6f38f3653 (patch) | |
tree | 86a6a44c791ac55f1ea0f76f61248df55d20cf6a /include/asm-i386 | |
parent | 7da5d406792eedb5341a8c20296470b2e67743e7 (diff) |
[PATCH] i386/x86_64: Remove global IO_APIC_VECTOR
Which vector an irq is assigned to now varies dynamically and is
not needed outside of io_apic.c. So remove the possibility
of accessing the information outside of io_apic.c and remove
the silly macro that makes looking for users of irq_vector
difficult.
The fact this compiles ensures there aren't any more pieces
of the old CONFIG_PCI_MSI weirdness that I failed to remove.
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-i386')
-rw-r--r-- | include/asm-i386/hw_irq.h | 3 |
1 files changed, 0 insertions, 3 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 |