Fix: vmalloc wrapper on kernel >= 4.12
authorMichael Jeanson <mjeanson@efficios.com>
Tue, 26 Sep 2017 17:46:30 +0000 (13:46 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 26 Sep 2017 17:59:06 +0000 (13:59 -0400)
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
wrapper/vmalloc.h

index 2dd06cbf53e0fe565538b99fd633be504f7b7f9f..e117584f37b6ae66a7ccae65dced8c061444d58e 100644 (file)
@@ -27,6 +27,7 @@
 
 #include <linux/version.h>
 #include <linux/vmalloc.h>
+#include <linux/mm.h>
 
 #ifdef CONFIG_KALLSYMS
 
@@ -105,7 +106,6 @@ void lttng_kvfree(const void *addr)
 #else
 
 #include <linux/slab.h>
-#include <linux/mm.h>
 
 /*
  * kallsyms wrapper of __vmalloc_node with a fallback to kmalloc_node.
This page took 0.033282 seconds and 4 git commands to generate.