File fix-timer_start-changed-in-linux-6.8.0-rc1.patch of Package lttng-modules

Author: Kienan Stewart <kstewart@efficios.com>
Date:   Mon Jan 22 11:33:39 2024 -0500
Subject: Fix: timer_start changed in linux 6.8.0-rc1
Git-commit: f4c1678d07a52aec704d5592b58f820734cd29b5
References: bsc#1233052
Signed-off-by: Tony Jones <tonyj@suse.de>
    
Above change from v6.8.0 was backported to SLE15-SP7.
Enable via defined(CONFIG_SUSE_KERNEL)

--- a/include/instrumentation/events/timer.h	2024-09-28 07:55:07.000000000 -0700
+++ b/include/instrumentation/events/timer.h	2024-11-07 09:06:33.183391588 -0800
@@ -46,6 +46,7 @@
 )
 
 #if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(6,8,0) || \
+	defined(CONFIG_SUSE_KERNEL) || \
 	LTTNG_RHEL_KERNEL_RANGE(5,14,0,457,0,0, 5,15,0,0,0,0))
 /**
  * timer_start - called when the timer is started
openSUSE Build Service is sponsored by