Fix: rcu: Fix data-race due to atomic_t copy-by-value (5.5.6, 5.4.22)
[lttng-modules.git] / instrumentation / events / lttng-module / rcu.h
index 5faaaa63d96f1ef6700e2ed2c6b2f04c927768c0..6bb941f99ca2ccdc02ac297504f2d40b84fb8c2a 100644 (file)
@@ -386,7 +386,9 @@ LTTNG_TRACEPOINT_EVENT(rcu_fqs,
  * events use the upper bits of each number, while interrupt-related
  * events use the lower bits.
  */
-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5,6,0))
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5,6,0))      \
+       || LTTNG_KERNEL_RANGE(5,5,6, 5,6,0)             \
+       || LTTNG_KERNEL_RANGE(5,4,22, 5,5,0)
 LTTNG_TRACEPOINT_EVENT(rcu_dyntick,
 
        TP_PROTO(const char *polarity, long oldnesting, long newnesting, int dynticks),
This page took 0.023782 seconds and 4 git commands to generate.