Namespace kernel version macros
[lttng-modules.git] / include / wrapper / user_namespace.h
index 5e0ab5ace684cfb4af41fc6c7133c719b2616a2e..26d15c55d33d3c19dab5c3a9e6ff9a7e6325f276 100644 (file)
@@ -9,11 +9,11 @@
 #ifndef _LTTNG_WRAPPER_USER_NAMESPACE_H
 #define _LTTNG_WRAPPER_USER_NAMESPACE_H
 
-#include <linux/version.h>
+#include <lttng/kernel-version.h>
 #include <linux/user_namespace.h>
 
 
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 5, 0)
+#if LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(3, 5, 0)
 
 #define lttng_current_xxuid(xxx)                               \
        (from_kuid_munged(&init_user_ns, current_##xxx()))
This page took 0.024224 seconds and 4 git commands to generate.