irq_vectors_limits.h 365 B

12345678910111213141516
  1. #ifndef _ASM_IRQ_VECTORS_LIMITS_H
  2. #define _ASM_IRQ_VECTORS_LIMITS_H
  3. #if defined(CONFIG_X86_IO_APIC) || defined(CONFIG_PARAVIRT)
  4. #define NR_IRQS 224
  5. # if (224 >= 32 * NR_CPUS)
  6. # define NR_IRQ_VECTORS NR_IRQS
  7. # else
  8. # define NR_IRQ_VECTORS (32 * NR_CPUS)
  9. # endif
  10. #else
  11. #define NR_IRQS 16
  12. #define NR_IRQ_VECTORS NR_IRQS
  13. #endif
  14. #endif /* _ASM_IRQ_VECTORS_LIMITS_H */