aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/irq/internals.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/irq/internals.h')
-rw-r--r--kernel/irq/internals.h18
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
5extern int noirqdebug;
6
7#ifdef CONFIG_PROC_FS
8extern void register_irq_proc(unsigned int irq);
9extern void register_handler_proc(unsigned int irq, struct irqaction *action);
10extern void unregister_handler_proc(unsigned int irq, struct irqaction *action);
11#else
12static inline void register_irq_proc(unsigned int irq) { }
13static inline void register_handler_proc(unsigned int irq,
14 struct irqaction *action) { }
15static inline void unregister_handler_proc(unsigned int irq,
16 struct irqaction *action) { }
17#endif
18