Update: Additional kernel ranges for vmalloc_sync_mappings
[lttng-modules.git] / include / wrapper / irq.h
CommitLineData
b7cdc182 1/* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only)
9f36eaed 2 *
29784493
MD
3 * wrapper/irq.h
4 *
5 * wrapper around linux/irq.h.
6 *
7 * Copyright (C) 2013 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
29784493
MD
8 */
9
9f36eaed
MJ
10#ifndef _LTTNG_WRAPPER_IRQ_H
11#define _LTTNG_WRAPPER_IRQ_H
12
29784493
MD
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.042507 seconds and 4 git commands to generate.