X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;ds=sidebyside;f=include%2Fwrapper%2Fobjtool.h;h=36a8cf73702bc79073382d42395e6400c1e88f6d;hb=05355f0bf8b4292ab7b8dc93571a568833b0a3c2;hp=3b997cae56d7837ca6bcd4493d7794c2fc16c074;hpb=d90539367a52330d331698eb2cca569c3782c863;p=lttng-modules.git diff --git a/include/wrapper/objtool.h b/include/wrapper/objtool.h index 3b997cae..36a8cf73 100644 --- a/include/wrapper/objtool.h +++ b/include/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)