X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=include%2Fwrapper%2Fkallsyms.h;h=6a3e27e986e0b72d0e2c843f2b9f854e9ed940cd;hb=5f4c791e2ad2c814101ccdb500e65543f2792c41;hp=7f4d8300c53eb591bd7e55b84529bd2ab634e288;hpb=be06402dbdbea2f3394e60ec15c5d3356e2be416;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)