diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2006-10-04 05:16:50 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-04 10:55:28 -0400 |
commit | e500f57436b9056a245216c53113613928155eba (patch) | |
tree | 2b93aae3dfbe82fd5387ec7e0cb5945951655d07 /include/asm-x86_64/hw_irq.h | |
parent | 23d0b8b053391afe15c9667d80de77ca88e18b8b (diff) |
[PATCH] genirq: x86_64 irq: Make the external irq handlers report their vector, not the irq number
This is a small pessimization but it paves the way for making this information
per cpu. Which allows the the maximum number of IRQS to become NR_CPUS*224.
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Rajesh Shah <rajesh.shah@intel.com>
Cc: Andi Kleen <ak@muc.de>
Cc: "Protasevich, Natalie" <Natalie.Protasevich@UNISYS.com>
Cc: "Luck, Tony" <tony.luck@intel.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-x86_64/hw_irq.h')
-rw-r--r-- | include/asm-x86_64/hw_irq.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-x86_64/hw_irq.h b/include/asm-x86_64/hw_irq.h index 1a8dc185a79f..9f6a0bfed727 100644 --- a/include/asm-x86_64/hw_irq.h +++ b/include/asm-x86_64/hw_irq.h | |||
@@ -74,6 +74,7 @@ | |||
74 | 74 | ||
75 | #ifndef __ASSEMBLY__ | 75 | #ifndef __ASSEMBLY__ |
76 | extern u8 irq_vector[NR_IRQ_VECTORS]; | 76 | extern u8 irq_vector[NR_IRQ_VECTORS]; |
77 | extern int vector_irq[NR_VECTORS]; | ||
77 | #define IO_APIC_VECTOR(irq) (irq_vector[irq]) | 78 | #define IO_APIC_VECTOR(irq) (irq_vector[irq]) |
78 | 79 | ||
79 | /* | 80 | /* |