X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=instrumentation%2Fevents%2Flttng-module%2Fscsi.h;fp=instrumentation%2Fevents%2Flttng-module%2Fscsi.h;h=c0088c633d16f3e9c5067577c0b02f8269a84437;hb=9c666164702ea3b2c2b2299b7aaab97203efc0af;hp=c23c4f2d5c18596cbf240633288c95fc98f1a1b3;hpb=ad23b731b30ff9854aa7123513b927c83bbc9d0d;p=lttng-modules.git diff --git a/instrumentation/events/lttng-module/scsi.h b/instrumentation/events/lttng-module/scsi.h index c23c4f2d..c0088c63 100644 --- a/instrumentation/events/lttng-module/scsi.h +++ b/instrumentation/events/lttng-module/scsi.h @@ -15,7 +15,8 @@ #define scsi_opcode_name(opcode) { opcode, #opcode } -#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,19,0)) +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,19,0) \ + || LTTNG_RHEL_KERNEL_RANGE(3,10,0,7,2, 3,11,0,0,0)) #define show_opcode_name(val) \ __print_symbolic(val, \