2005-04-17 02:20:36 +04:00
|
|
|
/*
|
|
|
|
* IRQ subsystem internal functions and variables:
|
|
|
|
*/
|
|
|
|
|
|
|
|
extern int noirqdebug;
|
|
|
|
|
2006-06-29 13:24:51 +04:00
|
|
|
/* Set default functions for irq_chip structures: */
|
|
|
|
extern void irq_chip_set_defaults(struct irq_chip *chip);
|
|
|
|
|
|
|
|
/* Set default handler: */
|
|
|
|
extern void compat_irq_chip_set_default_handler(struct irq_desc *desc);
|
|
|
|
|
2005-04-17 02:20:36 +04:00
|
|
|
#ifdef CONFIG_PROC_FS
|
|
|
|
extern void register_irq_proc(unsigned int irq);
|
|
|
|
extern void register_handler_proc(unsigned int irq, struct irqaction *action);
|
|
|
|
extern void unregister_handler_proc(unsigned int irq, struct irqaction *action);
|
|
|
|
#else
|
|
|
|
static inline void register_irq_proc(unsigned int irq) { }
|
|
|
|
static inline void register_handler_proc(unsigned int irq,
|
|
|
|
struct irqaction *action) { }
|
|
|
|
static inline void unregister_handler_proc(unsigned int irq,
|
|
|
|
struct irqaction *action) { }
|
|
|
|
#endif
|
|
|
|
|