irq.h 585 B

123456789101112131415161718192021222324252627282930
  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. #define touch_nmi_watchdog() do { } while(0)
  18. struct irqaction;
  19. struct pt_regs;
  20. int handle_IRQ_event(unsigned int, struct pt_regs *, struct irqaction *);
  21. #endif /* __KERNEL__ */
  22. #endif