Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | /* |
| 2 | * The following vectors are part of the Linux architecture, there |
| 3 | * is no hardware IRQ pin equivalent for them, they are triggered |
| 4 | * through the ICC by us (IPIs) |
| 5 | */ |
| 6 | #ifdef CONFIG_X86_SMP |
| 7 | BUILD_INTERRUPT(reschedule_interrupt,RESCHEDULE_VECTOR) |
| 8 | BUILD_INTERRUPT(invalidate_interrupt,INVALIDATE_TLB_VECTOR) |
| 9 | BUILD_INTERRUPT(call_function_interrupt,CALL_FUNCTION_VECTOR) |
| 10 | #endif |
| 11 | |
| 12 | /* |
| 13 | * every pentium local APIC has two 'local interrupts', with a |
| 14 | * soft-definable vector attached to both interrupts, one of |
| 15 | * which is a timer interrupt, the other one is error counter |
| 16 | * overflow. Linux uses the local APIC timer interrupt to get |
| 17 | * a much simpler SMP time architecture: |
| 18 | */ |
| 19 | #ifdef CONFIG_X86_LOCAL_APIC |
| 20 | BUILD_INTERRUPT(apic_timer_interrupt,LOCAL_TIMER_VECTOR) |
| 21 | BUILD_INTERRUPT(error_interrupt,ERROR_APIC_VECTOR) |
| 22 | BUILD_INTERRUPT(spurious_interrupt,SPURIOUS_APIC_VECTOR) |
| 23 | #endif |