blob: 486c9e946f5c551aeb1e46796eeb7e5f7a5bb772 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001/*
2 * This file is designed to contain the BUILD_INTERRUPT specifications for
3 * all of the extra named interrupt vectors used by the architecture.
4 * Usually this is the Inter Process Interrupts (IPIs)
5 */
6
7/*
8 * The following vectors are part of the Linux architecture, there
9 * is no hardware IRQ pin equivalent for them, they are triggered
10 * through the ICC by us (IPIs)
11 */
Ingo Molnar3e5095d2009-01-27 17:07:08 +010012#ifdef CONFIG_SMP
Linus Torvalds1da177e2005-04-16 15:20:36 -070013BUILD_INTERRUPT(reschedule_interrupt,RESCHEDULE_VECTOR)
Linus Torvalds1da177e2005-04-16 15:20:36 -070014BUILD_INTERRUPT(call_function_interrupt,CALL_FUNCTION_VECTOR)
Jens Axboe3b16cf82008-06-26 11:21:54 +020015BUILD_INTERRUPT(call_function_single_interrupt,CALL_FUNCTION_SINGLE_VECTOR)
Yinghai Lu497c9a12008-08-19 20:50:28 -070016BUILD_INTERRUPT(irq_move_cleanup_interrupt,IRQ_MOVE_CLEANUP_VECTOR)
Tejun Heo02cf94c2009-01-21 17:26:06 +090017
18BUILD_INTERRUPT3(invalidate_interrupt0,INVALIDATE_TLB_VECTOR_START+0,
19 smp_invalidate_interrupt)
20BUILD_INTERRUPT3(invalidate_interrupt1,INVALIDATE_TLB_VECTOR_START+1,
21 smp_invalidate_interrupt)
22BUILD_INTERRUPT3(invalidate_interrupt2,INVALIDATE_TLB_VECTOR_START+2,
23 smp_invalidate_interrupt)
24BUILD_INTERRUPT3(invalidate_interrupt3,INVALIDATE_TLB_VECTOR_START+3,
25 smp_invalidate_interrupt)
26BUILD_INTERRUPT3(invalidate_interrupt4,INVALIDATE_TLB_VECTOR_START+4,
27 smp_invalidate_interrupt)
28BUILD_INTERRUPT3(invalidate_interrupt5,INVALIDATE_TLB_VECTOR_START+5,
29 smp_invalidate_interrupt)
30BUILD_INTERRUPT3(invalidate_interrupt6,INVALIDATE_TLB_VECTOR_START+6,
31 smp_invalidate_interrupt)
32BUILD_INTERRUPT3(invalidate_interrupt7,INVALIDATE_TLB_VECTOR_START+7,
33 smp_invalidate_interrupt)
Linus Torvalds1da177e2005-04-16 15:20:36 -070034#endif
35
Dimitri Sivanichacaabe72009-03-04 12:56:05 -060036BUILD_INTERRUPT(generic_interrupt, GENERIC_INTERRUPT_VECTOR)
37
Linus Torvalds1da177e2005-04-16 15:20:36 -070038/*
39 * every pentium local APIC has two 'local interrupts', with a
40 * soft-definable vector attached to both interrupts, one of
41 * which is a timer interrupt, the other one is error counter
42 * overflow. Linux uses the local APIC timer interrupt to get
43 * a much simpler SMP time architecture:
44 */
45#ifdef CONFIG_X86_LOCAL_APIC
Ingo Molnar1164dd02009-01-28 19:34:09 +010046
Linus Torvalds1da177e2005-04-16 15:20:36 -070047BUILD_INTERRUPT(apic_timer_interrupt,LOCAL_TIMER_VECTOR)
48BUILD_INTERRUPT(error_interrupt,ERROR_APIC_VECTOR)
49BUILD_INTERRUPT(spurious_interrupt,SPURIOUS_APIC_VECTOR)
50
Ingo Molnar1164dd02009-01-28 19:34:09 +010051#ifdef CONFIG_PERF_COUNTERS
52BUILD_INTERRUPT(perf_counter_interrupt, LOCAL_PERF_VECTOR)
53#endif
54
Andi Kleen4efc0672009-04-28 19:07:31 +020055#ifdef CONFIG_X86_THERMAL_VECTOR
Linus Torvalds1da177e2005-04-16 15:20:36 -070056BUILD_INTERRUPT(thermal_interrupt,THERMAL_APIC_VECTOR)
57#endif
58
59#endif