X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;ds=sidebyside;f=include%2Fwrapper%2Fpercpu-defs.h;h=7a050cc0540f2e25817dc9fe7d2aa82e21742724;hb=5f4c791e2ad2c814101ccdb500e65543f2792c41;hp=fff8b1df28625a46355c9a626928a54826161a17;hpb=be06402dbdbea2f3394e60ec15c5d3356e2be416;p=deliverable%2Flttng-modules.git diff --git a/include/wrapper/percpu-defs.h b/include/wrapper/percpu-defs.h index fff8b1df..7a050cc0 100644 --- a/include/wrapper/percpu-defs.h +++ b/include/wrapper/percpu-defs.h @@ -10,20 +10,20 @@ #ifndef _LTTNG_WRAPPER_PERCPU_DEFS_H #define _LTTNG_WRAPPER_PERCPU_DEFS_H -#include +#include -#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,19,0) +#if LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(3,19,0) #include #define lttng_this_cpu_ptr(ptr) this_cpu_ptr(ptr) -#else /* #if LINUX_VERSION_CODE >= KERNEL_VERSION(3,19,0) */ +#else /* #if LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(3,19,0) */ #include #define lttng_this_cpu_ptr(ptr) (&__get_cpu_var(*(ptr))) -#endif /* #else #if LINUX_VERSION_CODE >= KERNEL_VERSION(3,19,0) */ +#endif /* #else #if LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(3,19,0) */ #endif /* _LTTNG_WRAPPER_PERCPU_DEFS_H */