X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=include%2Fringbuffer%2Fbackend_types.h;h=f111390c53bbceebbc39a0f55cc26c22cfb4cd4a;hb=5f4c791e2ad2c814101ccdb500e65543f2792c41;hp=cfeecf4fe8e5344cdd665e5de30960f41391841c;hpb=2459130397d7e7eecc44a5f06a39d65c78257eef;p=lttng-modules.git diff --git a/include/ringbuffer/backend_types.h b/include/ringbuffer/backend_types.h index cfeecf4f..f111390c 100644 --- a/include/ringbuffer/backend_types.h +++ b/include/ringbuffer/backend_types.h @@ -12,8 +12,8 @@ #include #include -#include -#include +#include +#include struct lib_ring_buffer_backend_page { void *virt; /* page virtual address (cached) */ @@ -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 */