X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=include%2Fwrapper%2Fkallsyms.h;h=6a3e27e986e0b72d0e2c843f2b9f854e9ed940cd;hb=ffcc873470121ef1ebb110df3d9038a38d9cb7cb;hp=7f4d8300c53eb591bd7e55b84529bd2ab634e288;hpb=117ab60f69a98dcbc365de8008ab93e6699d153a;p=lttng-modules.git diff --git a/include/wrapper/kallsyms.h b/include/wrapper/kallsyms.h index 7f4d8300..6a3e27e9 100644 --- a/include/wrapper/kallsyms.h +++ b/include/wrapper/kallsyms.h @@ -14,7 +14,7 @@ #define _LTTNG_WRAPPER_KALLSYMS_H #include -#include +#include /* * PowerPC ABIv1 needs KALLSYMS_ALL to get the function descriptor, @@ -26,11 +26,11 @@ # endif #endif -#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5,7,0)) +#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(5,7,0)) unsigned long wrapper_kallsyms_lookup_name(const char *name); -#else /* #if (LINUX_VERSION_CODE >= KERNEL_VERSION(5,7,0)) */ +#else /* #if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(5,7,0)) */ static inline unsigned long wrapper_kallsyms_lookup_name(const char *name) @@ -38,7 +38,7 @@ unsigned long wrapper_kallsyms_lookup_name(const char *name) return kallsyms_lookup_name(name); } -#endif /* #else #if (LINUX_VERSION_CODE >= KERNEL_VERSION(5,7,0)) */ +#endif /* #else #if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(5,7,0)) */ static inline unsigned long kallsyms_lookup_funcptr(const char *name)