X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=wrapper%2Fobjtool.h;h=67bc1f5ff35192b5fad08922b27de7cab31b93e6;hb=2d0428212cbfa3f8428feee160b095f48c2ac974;hp=3b997cae56d7837ca6bcd4493d7794c2fc16c074;hpb=e0f2366419fc59700e575bab82a41255c51de2dc;p=lttng-modules.git diff --git a/wrapper/objtool.h b/wrapper/objtool.h index 3b997cae..67bc1f5f 100644 --- a/wrapper/objtool.h +++ b/wrapper/objtool.h @@ -8,16 +8,16 @@ #ifndef _LTTNG_WRAPPER_OBJTOOL_H #define _LTTNG_WRAPPER_OBJTOOL_H -#include +#include -#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5,10,0)) +#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(5,10,0)) #include -#elif (LINUX_VERSION_CODE >= KERNEL_VERSION(4,6,0)) +#elif (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(4,6,0)) #include #endif -#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,6,0)) +#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(4,6,0)) #define LTTNG_STACK_FRAME_NON_STANDARD(func) \ STACK_FRAME_NON_STANDARD(func)