X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=include%2Fringbuffer%2Fbackend_types.h;h=f111390c53bbceebbc39a0f55cc26c22cfb4cd4a;hb=5f4c791e2ad2c814101ccdb500e65543f2792c41;hp=37a3bb8c2a363ccb25859409598da73e7705fe35;hpb=be06402dbdbea2f3394e60ec15c5d3356e2be416;p=lttng-modules.git diff --git a/include/ringbuffer/backend_types.h b/include/ringbuffer/backend_types.h index 37a3bb8c..f111390c 100644 --- a/include/ringbuffer/backend_types.h +++ b/include/ringbuffer/backend_types.h @@ -86,7 +86,7 @@ struct channel_backend { void *priv; /* Client-specific information */ void *priv_ops; /* Client-specific ops pointer */ void (*release_priv_ops)(void *priv_ops); -#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,10,0)) +#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(4,10,0)) struct lttng_cpuhp_node cpuhp_prepare; /* CPU hotplug prepare */ #else struct notifier_block cpu_hp_notifier; /* CPU hotplug notifier */