Commit | Line | Data |
---|---|---|
b7cdc182 | 1 | /* SPDX-License-Identifier: (GPL-2.0-only OR LGPL-2.1-only) |
9153ad23 JR |
2 | * |
3 | * blacklist/timekeeping.h | |
4 | * | |
5 | * Blacklist of kernel for buggy timekeeping implementation. | |
6 | * | |
7 | * Copyright (C) 2019 Jonathan Rajotte-Julien <jonathan.rajotte-julien@efficios.com> | |
8 | */ | |
9 | ||
10 | #ifndef _LTTNG_BLACKLIST_TIMEKEEPING_H | |
11 | #define _LTTNG_BLACKLIST_TIMEKEEPING_H | |
12 | ||
13 | #include <lttng-kernel-version.h> | |
14 | ||
15 | #if ((LTTNG_KERNEL_RANGE(3,10,0, 3,10,14) && !LTTNG_RHEL_KERNEL_RANGE(3,10,0,123,0,0, 3,10,14,0,0,0)) \ | |
16 | || LTTNG_KERNEL_RANGE(3,11,0, 3,11,3)) | |
17 | # error "Linux kernels 3.10 and 3.11 introduce a deadlock in the timekeeping subsystem. Fixed by commit 7bd36014460f793c19e7d6c94dab67b0afcfcb7f \"timekeeping: Fix HRTICK related deadlock from ntp lock changes\" in Linux." | |
18 | #endif | |
19 | ||
20 | #endif /* _LTTNG_BLACKLIST_TIMEKEEPING_H */ |