Namespace kernel version macros
[lttng-modules.git] / probes / lttng-probe-lock.c
index b3ad230204e7f1f897ca62dfbda5cebb0ad3a85f..524f868f6d0d92dd0d06b7ab973225d6e197434f 100644 (file)
@@ -9,14 +9,14 @@
  */
 
 #include <linux/module.h>
-#include <linux/version.h>
+#include <lttng-kernel-version.h>
 #include <lttng-tracer.h>
 
 /*
  * Create the tracepoint static inlines from the kernel to validate that our
  * trace event macros match the kernel we run on.
  */
-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,33))
+#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(2,6,33))
 #include <trace/events/lock.h>
 #else
 #include <trace/events/lockdep.h>
This page took 0.022909 seconds and 4 git commands to generate.