Namespace kernel version macros
[lttng-modules.git] / include / wrapper / namespace.h
index 8e8a37123c82637321c296b16dc0157338f77f70..97eb235c9ab8eb07a6fdde41f0e453d9b64ffecd 100644 (file)
 #ifndef _LTTNG_WRAPPER_NAMESPACE_H
 #define _LTTNG_WRAPPER_NAMESPACE_H
 
-#include <linux/version.h>
+#include <lttng/kernel-version.h>
 
-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,19,0))
+#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(3,19,0))
 #define lttng_ns_inum ns.inum
 #else
 #define lttng_ns_inum proc_inum
 #endif
 
-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,5,0))
+#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(3,5,0))
 #define lttng_user_ns_parent parent
 #else
 #define lttng_user_ns_parent creator->user_ns
This page took 0.024844 seconds and 4 git commands to generate.