entry_arch.h 877 B

1234567891011121314151617181920212223
  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. * every pentium local APIC has two 'local interrupts', with a
  13. * soft-definable vector attached to both interrupts, one of
  14. * which is a timer interrupt, the other one is error counter
  15. * overflow. Linux uses the local APIC timer interrupt to get
  16. * a much simpler SMP time architecture:
  17. */
  18. #ifdef CONFIG_X86_LOCAL_APIC
  19. BUILD_INTERRUPT(apic_timer_interrupt,LOCAL_TIMER_VECTOR)
  20. BUILD_INTERRUPT(error_interrupt,ERROR_APIC_VECTOR)
  21. BUILD_INTERRUPT(spurious_interrupt,SPURIOUS_APIC_VECTOR)
  22. #endif