Add support for kvm x86 specific tracepoints
[lttng-modules.git] / lttng-kernel-version.h
index 280a398a93e370db16f95b416802fb0ef0946213..0eb56b3820d256bcce5ef399552f95d2ea398e08 100644 (file)
 
 /*
  * This macro checks if the kernel version is between the two specified
- * versions (inclusive).
+ * versions (lower limit inclusive, upper limit exclusive).
  */
 #define LTTNG_KERNEL_RANGE(a_low, b_low, c_low, a_high, b_high, c_high) \
        (LINUX_VERSION_CODE >= KERNEL_VERSION(a_low, b_low, c_low) && \
-        LINUX_VERSION_CODE <= KERNEL_VERSION(a_high, b_high, c_high))
+        LINUX_VERSION_CODE < KERNEL_VERSION(a_high, b_high, c_high))
 
 #endif /* _LTTNG_KERNEL_VERSION_H */
This page took 0.022854 seconds and 4 git commands to generate.