Namespace kernel version macros
[lttng-modules.git] / include / wrapper / barrier.h
index 26330d39eebd80f9b7813731c27650c24cca1350..9d47ad7e5fa1939be5272a9c003b02536723cc00 100644 (file)
 #ifndef _LTTNG_WRAPPER_BARRIER_H
 #define _LTTNG_WRAPPER_BARRIER_H
 
-#include <linux/version.h>
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,4,0)
+#include <lttng/kernel-version.h>
+#if LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(3,4,0)
 #include <asm/barrier.h>
 #else
 #include <asm/system.h>
 #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)
This page took 0.023461 seconds and 4 git commands to generate.