Namespace kernel version macros
[lttng-modules.git] / lib / bug.h
index 3de40ca906cc56ab7954395ad363ba5a0e1c4e25..e8bc61c9927e1572d6a8471fce2b78e09da48626 100644 (file)
--- a/lib/bug.h
+++ b/lib/bug.h
@@ -21,9 +21,9 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include <linux/version.h>
+#include <lttng-kernel-version.h>
 
-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,38))
+#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(2,6,38))
 #define LTTNG_BUILD_BUG_ON(cond) BUILD_BUG_ON(cond)
 #else
 #define LTTNG_BUILD_BUG_ON(cond) MAYBE_BUILD_BUG_ON(cond)
This page took 0.022983 seconds and 4 git commands to generate.