1 /* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1)
5 * wrapper around linux/irq.h.
7 * Copyright (C) 2013 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
10 #ifndef _LTTNG_WRAPPER_IRQ_H
11 #define _LTTNG_WRAPPER_IRQ_H
13 #include <linux/version.h>
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.
20 #if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,12,0) \
21 || defined(CONFIG_GENERIC_HARDIRQS))
22 # define CONFIG_LTTNG_HAS_LIST_IRQ
25 #endif /* _LTTNG_WRAPPER_IRQ_H */
This page took 0.029295 seconds and 4 git commands to generate.