X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=include%2Finstrumentation%2Fevents%2Fpreemptirq.h;h=80bbbac6748bd18a1c150fb953ef61ce96696e4c;hb=5f4c791e2ad2c814101ccdb500e65543f2792c41;hp=36aa36cb73c6b26b1c178e9387d84361a326615f;hpb=be06402dbdbea2f3394e60ec15c5d3356e2be416;p=lttng-modules.git diff --git a/include/instrumentation/events/preemptirq.h b/include/instrumentation/events/preemptirq.h index 36aa36cb..80bbbac6 100644 --- a/include/instrumentation/events/preemptirq.h +++ b/include/instrumentation/events/preemptirq.h @@ -35,7 +35,7 @@ LTTNG_TRACEPOINT_EVENT_CLASS(preemptirq_template, */ #if defined(CONFIG_TRACE_IRQFLAGS) #define LTTNG_TRACE_IRQ -#elif (LINUX_VERSION_CODE < KERNEL_VERSION(4,19,0) && \ +#elif (LTTNG_LINUX_VERSION_CODE < LTTNG_KERNEL_VERSION(4,19,0) && \ !defined(CONFIG_PROVE_LOCKING)) #define LTTNG_TRACE_IRQ #endif @@ -67,7 +67,7 @@ LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP(preemptirq_template, irq_enable, */ #if defined(CONFIG_TRACE_PREEMPT_TOGGLE) #define LTTNG_TRACE_PREEMPT -#elif (LINUX_VERSION_CODE < KERNEL_VERSION(4,19,0) && \ +#elif (LTTNG_LINUX_VERSION_CODE < LTTNG_KERNEL_VERSION(4,19,0) && \ defined(CONFIG_DEBUG_PREEMPT)) #define LTTNG_TRACE_PREEMPT #endif