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=5eb7ed9a881a8b4d583b3f9a5afdf8c26077bd75;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 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) */