Update sites using kernel version checking macro to new range
[lttng-modules.git] / probes / lttng-probe-vmscan.c
index 2abd0e46b6e5274551903d7ca44aa1b6095aac2f..4f5739cbd799fd6c360c62b102be5e6b6826b91f 100644 (file)
@@ -30,6 +30,8 @@
  */
 #include <trace/events/vmscan.h>
 
+#include "../lttng-kernel-version.h"
+
 /*
  * Create LTTng tracepoint probes.
  */
@@ -37,7 +39,8 @@
 #define CREATE_TRACE_POINTS
 #define TRACE_INCLUDE_PATH ../instrumentation/events/lttng-module
 
-#if (LINUX_VERSION_CODE < KERNEL_VERSION(3,2,0))
+#if ((LINUX_VERSION_CODE <= KERNEL_VERSION(3,0,38)) || \
+       LTTNG_KERNEL_RANGE(3,1,0, 3,2,0))
 typedef int isolate_mode_t;
 #endif
 
This page took 0.023752 seconds and 4 git commands to generate.