X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=lib%2Fringbuffer%2Fbackend_types.h;fp=lib%2Fringbuffer%2Fbackend_types.h;h=7c474a0a8405b5cc13f8b7ea8bc53b55c5fa1db2;hb=360d3efee55154a55c18be32175bee608dcb21df;hp=01ed63b9349aac0a71f25d4912774c7f946e9854;hpb=c8d38a68e21703af9b2287120cab1a52d24db9f7;p=lttng-modules.git diff --git a/lib/ringbuffer/backend_types.h b/lib/ringbuffer/backend_types.h index 01ed63b9..7c474a0a 100644 --- a/lib/ringbuffer/backend_types.h +++ b/lib/ringbuffer/backend_types.h @@ -99,7 +99,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 */