[lttng-dev] [PATCH lttng-modules] Update using of kernel version checking macro to new range
Andrew Gabbasov
andrew_gabbasov at mentor.com
Tue Nov 27 07:22:26 EST 2012
Signed-off-by: Andrew Gabbasov <andrew_gabbasov at mentor.com>
---
probes/lttng-probe-vmscan.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/probes/lttng-probe-vmscan.c b/probes/lttng-probe-vmscan.c
index 0205c7e..4f5739c 100644
--- a/probes/lttng-probe-vmscan.c
+++ b/probes/lttng-probe-vmscan.c
@@ -39,8 +39,8 @@
#define CREATE_TRACE_POINTS
#define TRACE_INCLUDE_PATH ../instrumentation/events/lttng-module
-#if (LINUX_VERSION_CODE <= KERNEL_VERSION(3,0,38)) || \
- LTTNG_KERNEL_RANGE(3,1,0, 3,1,10)
+#if ((LINUX_VERSION_CODE <= KERNEL_VERSION(3,0,38)) || \
+ LTTNG_KERNEL_RANGE(3,1,0, 3,2,0))
typedef int isolate_mode_t;
#endif
--
1.7.10.4
More information about the lttng-dev
mailing list