Merge tag 'v3.14.25' into backport/v3.14.24-ltsi-rc1+v3.14.25/snapshot-merge.wip
[platform/adaptation/renesas_rcar/renesas_kernel.git] / drivers / staging / lttng / wrapper / irqdesc.h
1 #ifndef _LTTNG_WRAPPER_IRQDESC_H
2 #define _LTTNG_WRAPPER_IRQDESC_H
3
4 /*
5  * wrapper/irqdesc.h
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  * Copyright (C) 2011-2012 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12  *
13  * This library is free software; you can redistribute it and/or
14  * modify it under the terms of the GNU Lesser General Public
15  * License as published by the Free Software Foundation; only
16  * version 2.1 of the License.
17  *
18  * This library is distributed in the hope that it will be useful,
19  * but WITHOUT ANY WARRANTY; without even the implied warranty of
20  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
21  * Lesser General Public License for more details.
22  *
23  * You should have received a copy of the GNU Lesser General Public
24  * License along with this library; if not, write to the Free Software
25  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
26  */
27
28 #include <linux/interrupt.h>
29 #include <linux/irqnr.h>
30
31 struct irq_desc *wrapper_irq_to_desc(unsigned int irq);
32
33 #endif /* _LTTNG_WRAPPER_IRQDESC_H */