Drop support for kernels < 3.0 from lttng-kernel-version.h
[lttng-modules.git] / 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.022744 seconds and 4 git commands to generate.