From 5eb7ed9a881a8b4d583b3f9a5afdf8c26077bd75 Mon Sep 17 00:00:00 2001 From: Kienan Stewart Date: Fri, 24 Jan 2025 16:47:23 +0000 Subject: [PATCH] Fix: Missing scsi/scsi_request.h with SLE15 SP5 See SUSE commit: commit 65b6ebae4e3566ad74e016acad23007c5c01a062 Author: Hannes Reinecke Date: Mon Dec 12 13:37:58 2022 +0100 - scsi: core: Remove (jsc#PED-1559). - Refresh patches.suse/cdrom-add-poll_event_interruptible.patch. suse-commit: 5a0411a622d3e14b4e89f106c5ae05e9f97fcfb6 Change-Id: Iad52c94ba17660fff8cc85569a18ee859e2b085a Signed-off-by: Kienan Stewart Signed-off-by: Mathieu Desnoyers --- include/instrumentation/events/block.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/instrumentation/events/block.h b/include/instrumentation/events/block.h index b856ea48..c5242ffb 100644 --- a/include/instrumentation/events/block.h +++ b/include/instrumentation/events/block.h @@ -11,7 +11,8 @@ #include #include -#if LTTNG_KERNEL_RANGE(4,11,0, 5,18,0) +#if (LTTNG_KERNEL_RANGE(4,11,0, 5,18,0) && LTTNG_SLE_VERSION_CODE == 0) || \ + LTTNG_SLE_KERNEL_RANGE(4,11,0,0,0,0, 5,14,21,150500,10,0) #include #endif /* LTTNG_KERNEL_RANGE(4,11,0, 5,18,0) */ -- 2.39.5