Commit | Line | Data |
---|---|---|
c337ddc2 MD |
1 | #ifndef _LTTNG_WRAPPER_IRQDESC_H |
2 | #define _LTTNG_WRAPPER_IRQDESC_H | |
3 | ||
4 | /* | |
5 | * Copyright (C) 2011 Mathieu Desnoyers (mathieu.desnoyers@efficios.com) | |
6 | * | |
7 | * wrapper around irq_to_desc. Using KALLSYMS to get its address when | |
8 | * available, else we need to have a kernel that exports this function to GPL | |
9 | * modules. | |
10 | * | |
11 | * Dual LGPL v2.1/GPL v2 license. | |
12 | */ | |
13 | ||
14 | #include <linux/interrupt.h> | |
15 | #include <linux/irqnr.h> | |
16 | ||
17 | struct irq_desc *wrapper_irq_to_desc(unsigned int irq); | |
18 | ||
19 | #endif /* _LTTNG_WRAPPER_IRQDESC_H */ |