File sle_fix_rcu_dyntick.patch of Package lttng-modules

From: Tony Jones <tonyj@suse.de>
Subject: fix: rcu: Fix data-race due to atomic_t copy-by-value (v5.6)
Git-commit: a78060f4ae4302fad6b6f09dac55174ec730304f

Handle SLE backport.

--- a/instrumentation/events/lttng-module/rcu.h	2020-11-03 20:12:02.984626019 +0100
+++ b/instrumentation/events/lttng-module/rcu.h	2020-11-03 20:13:09.021904675 +0100
@@ -395,7 +395,8 @@
 #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_UBUNTU_KERNEL_RANGE(5,0,21,46, 5,1,0,0)
+	|| LTTNG_UBUNTU_KERNEL_RANGE(5,0,21,46, 5,1,0,0) \
+	|| (CONFIG_SUSE_VERSION == 15 && CONFIG_SUSE_PATCHLEVEL == 3)
 LTTNG_TRACEPOINT_EVENT(rcu_dyntick,
 
 	TP_PROTO(const char *polarity, long oldnesting, long newnesting, int dynticks),
openSUSE Build Service is sponsored by