diff options
author | Dimitri Sivanich <sivanich@sgi.com> | 2009-03-04 12:56:05 -0600 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-03-04 20:25:37 +0100 |
commit | acaabe795a62bba089c185917af86b44654313dc (patch) | |
tree | bbdf5eb8a7eb2a1a8c40bfc332db6d328a64b043 /arch/x86/kernel/irqinit_64.c | |
parent | f254f3909efaf59ca2d0f408de2d044dace60706 (diff) | |
download | blackbird-op-linux-acaabe795a62bba089c185917af86b44654313dc.tar.gz blackbird-op-linux-acaabe795a62bba089c185917af86b44654313dc.zip |
x86: UV, SGI RTC: add generic system vector
This patch allocates a system interrupt vector for various platform
specific uses.
Signed-off-by: Dimitri Sivanich <sivanich@sgi.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: john stultz <johnstul@us.ibm.com>
LKML-Reference: <20090304185605.GA24419@sgi.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/irqinit_64.c')
-rw-r--r-- | arch/x86/kernel/irqinit_64.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86/kernel/irqinit_64.c b/arch/x86/kernel/irqinit_64.c index da481a1e3f30..c7a49e0ffbfb 100644 --- a/arch/x86/kernel/irqinit_64.c +++ b/arch/x86/kernel/irqinit_64.c @@ -147,6 +147,9 @@ static void __init apic_intr_init(void) /* self generated IPI for local APIC timer */ alloc_intr_gate(LOCAL_TIMER_VECTOR, apic_timer_interrupt); + /* generic IPI for platform specific use */ + alloc_intr_gate(GENERIC_INTERRUPT_VECTOR, generic_interrupt); + /* IPI vectors for APIC spurious and error interrupts */ alloc_intr_gate(SPURIOUS_APIC_VECTOR, spurious_interrupt); alloc_intr_gate(ERROR_APIC_VECTOR, error_interrupt); |