X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=include%2Fwrapper%2Fbarrier.h;h=9d47ad7e5fa1939be5272a9c003b02536723cc00;hb=e481d68f7e5b3789926faba6473f15fc3081c6e3;hp=26330d39eebd80f9b7813731c27650c24cca1350;hpb=6e49a8d557d91c9e8193a7a26981743a3cb33f1e;p=lttng-modules.git diff --git a/include/wrapper/barrier.h b/include/wrapper/barrier.h index 26330d39..9d47ad7e 100644 --- a/include/wrapper/barrier.h +++ b/include/wrapper/barrier.h @@ -10,14 +10,14 @@ #ifndef _LTTNG_WRAPPER_BARRIER_H #define _LTTNG_WRAPPER_BARRIER_H -#include -#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,4,0) +#include +#if LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(3,4,0) #include #else #include #endif -#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,14,0) +#if LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(3,14,0) #define lttng_smp_store_release(x, v) smp_store_release(x, v) #define lttng_smp_load_acquire(x) smp_load_acquire(x)