1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
This is required in order the make the build succeed for
machine k2hk-evm, image enea-image-demo.
The patch for commit 7bd36014460f793c19e7d6c94dab67b0afcfcb7f is already part of the build.
It is located here:
poky/meta-ti/recipes-kernel/linux/linux-keystone-3.10.10/Fix_HRTICK_related_deadlock_from_ntp_lock.patch
and it is applied for kernel recipe poky/meta-ti/recipes-kernel/linux/linux-keystone_3.10.bb,
that is the kernel used for k2hk-evm.
In this regard, I removed the check until TI upgrade their
kernels to a supported version.
Upstream-Status: Not Applicable
Signed-off-by: Liviu Gheorghisan <liviu.gheorghisan@enea.com>
---
--- a/wrapper/trace-clock.h 2014-07-25 15:54:00.677739746 +0200
+++ b/wrapper/trace-clock.h 2014-07-25 15:55:49.807390266 +0200
@@ -36,10 +36,6 @@
#include "../lttng-kernel-version.h"
#include "random.h"
-#if LTTNG_KERNEL_RANGE(3,10,0, 3,10,14) || LTTNG_KERNEL_RANGE(3,11,0, 3,11,3)
-#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."
-#endif
-
static inline u64 trace_clock_monotonic_wrapper(void)
{
ktime_t ktime;
|