diff options
Diffstat (limited to 'kernel/irq/internals.h')
-rw-r--r-- | kernel/irq/internals.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/kernel/irq/internals.h b/kernel/irq/internals.h new file mode 100644 index 000000000000..46feba630266 --- /dev/null +++ b/kernel/irq/internals.h | |||
@@ -0,0 +1,18 @@ | |||
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 | |||