X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;ds=sidebyside;f=include%2Fringbuffer%2Fbackend_types.h;h=f111390c53bbceebbc39a0f55cc26c22cfb4cd4a;hb=fc66bf6a911e374789389f465c653c0c33b4c197;hp=37a3bb8c2a363ccb25859409598da73e7705fe35;hpb=2df37e95fa4303ecc0db41334452665491533641;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 */