Cleanup: Move instrumentation/ headers to include/instrumentation/
[lttng-modules.git] / wrapper / irq.h
1 /* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only)
2 *
3 * wrapper/irq.h
4 *
5 * wrapper around linux/irq.h.
6 *
7 * Copyright (C) 2013 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
8 */
9
10 #ifndef _LTTNG_WRAPPER_IRQ_H
11 #define _LTTNG_WRAPPER_IRQ_H
12
13 #include <linux/version.h>
14
15 /*
16 * Starting from the 3.12 Linux kernel, all architectures use the
17 * generic hard irqs system. More details can be seen at commit
18 * 0244ad004a54e39308d495fee0a2e637f8b5c317 in the Linux kernel GIT.
19 */
20 #if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,12,0) \
21 || defined(CONFIG_GENERIC_HARDIRQS))
22 # define CONFIG_LTTNG_HAS_LIST_IRQ
23 #endif
24
25 #endif /* _LTTNG_WRAPPER_IRQ_H */
This page took 0.029037 seconds and 4 git commands to generate.