Drop support for kernels < 3.0 from lttng-kernel-version.h
authorMichael Jeanson <mjeanson@efficios.com>
Thu, 8 Nov 2018 20:45:12 +0000 (15:45 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 8 Nov 2018 23:49:49 +0000 (18:49 -0500)
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
lttng-kernel-version.h

index 6b545dbbe28997d0a22ac7e89cbf3d507d0acd96..26f816c0a6e75c1ecabcaf28f9e9d2d02a9f36ae 100644 (file)
 #define _LTTNG_KERNEL_VERSION_H
 
 #include <linux/version.h>
-
-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,33))
 #include <generated/utsrelease.h>
-#else /* #if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,33)) */
-#include <linux/utsrelease.h>
-#endif /* #else #if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,33)) */
 
 /*
  * This macro checks if the kernel version is between the two specified
This page took 0.025098 seconds and 4 git commands to generate.