irq.h 429 B

1234567891011121314151617181920212223
  1. #ifndef _ASM_IRQ_H
  2. #define _ASM_IRQ_H
  3. #ifdef __KERNEL__
  4. #include <linux/hardirq.h>
  5. /*
  6. * the definition of irqs has changed in 2.5.46:
  7. * NR_IRQS is no longer the number of i/o
  8. * interrupts (65536), but rather the number
  9. * of interrupt classes (2).
  10. * Only external and i/o interrupts make much sense here (CH).
  11. */
  12. enum interruption_class {
  13. EXTERNAL_INTERRUPT,
  14. IO_INTERRUPT,
  15. NR_IRQS,
  16. };
  17. #endif /* __KERNEL__ */
  18. #endif