Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
[linux-2.6] / kernel / irq / internals.h
1 /*
2  * IRQ subsystem internal functions and variables:
3  */
4
5 extern int noirqdebug;
6
7 #ifdef CONFIG_PROC_FS
8 extern void register_irq_proc(unsigned int irq);
9 extern void register_handler_proc(unsigned int irq, struct irqaction *action);
10 extern void unregister_handler_proc(unsigned int irq, struct irqaction *action);
11 #else
12 static inline void register_irq_proc(unsigned int irq) { }
13 static inline void register_handler_proc(unsigned int irq,
14                                          struct irqaction *action) { }
15 static inline void unregister_handler_proc(unsigned int irq,
16                                            struct irqaction *action) { }
17 #endif
18