From: Kienan Stewart Date: Fri, 24 Jan 2025 16:47:23 +0000 (+0000) Subject: Fix: Missing scsi/scsi_request.h with SLE15 SP5 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=e6b18536dac7dffb43a1011d7d072b1238da73a2;p=lttng-modules.git 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 --- diff --git a/include/instrumentation/events/block.h b/include/instrumentation/events/block.h index 42b871ee..47c51aef 100644 --- a/include/instrumentation/events/block.h +++ b/include/instrumentation/events/block.h @@ -14,7 +14,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) */