internals.h 793 B

123456789101112131415161718192021222324
  1. /*
  2. * IRQ subsystem internal functions and variables:
  3. */
  4. extern int noirqdebug;
  5. /* Set default functions for irq_chip structures: */
  6. extern void irq_chip_set_defaults(struct irq_chip *chip);
  7. /* Set default handler: */
  8. extern void compat_irq_chip_set_default_handler(struct irq_desc *desc);
  9. #ifdef CONFIG_PROC_FS
  10. extern void register_irq_proc(unsigned int irq);
  11. extern void register_handler_proc(unsigned int irq, struct irqaction *action);
  12. extern void unregister_handler_proc(unsigned int irq, struct irqaction *action);
  13. #else
  14. static inline void register_irq_proc(unsigned int irq) { }
  15. static inline void register_handler_proc(unsigned int irq,
  16. struct irqaction *action) { }
  17. static inline void unregister_handler_proc(unsigned int irq,
  18. struct irqaction *action) { }
  19. #endif