Fix: Include utsrelease.h in lttng-kernel-version.h
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 17 Apr 2015 18:36:22 +0000 (14:36 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 17 Apr 2015 18:37:10 +0000 (14:37 -0400)
Including module.h includes other headers, which is an issue for the
get_pfnblock_flags_mask wrapper.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
lttng-kernel-version.h

index 53a6a363a2c3052df45d32abe45118709ed286bf..e8353fd4724e1a86220dfd70d9be9d2dc7c91459 100644 (file)
@@ -24,8 +24,7 @@
  */
 
 #include <linux/version.h>
-#include <linux/module.h>
-#include <linux/vermagic.h>
+#include <linux/utsrelease.h>
 
 /*
  * This macro checks if the kernel version is between the two specified
This page took 0.025351 seconds and 4 git commands to generate.