Drop support for kernels < 3.0 from module instrumentation
[lttng-modules.git] / instrumentation / events / lttng-module / scsi.h
index 02e335333e61625631a300d75a6ff90b75744419..97ee050f45dc9836606c877a2f8ddc6e24197c54 100644 (file)
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 #undef TRACE_SYSTEM
 #define TRACE_SYSTEM scsi
 
@@ -15,7 +16,8 @@
 
 #define scsi_opcode_name(opcode)       { opcode, #opcode }
 
-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,7,0))
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,7,0) \
+       || LTTNG_SLE_KERNEL_RANGE(4,4,9,36,0,0, 4,5,0,0,0,0))
 
 #define show_opcode_name(val)                                  \
        __print_symbolic(val,                                   \
This page took 0.040246 seconds and 4 git commands to generate.