Skip to contentSkip to conversation

Fix: vmalloc wrapper on kernel >= 4.12

PATCH Mathieu Desnoyers 1 participant 1 message Sep 26, 2017 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Mathieu Desnoyers

author Applied
#1 lore raw

merged, thanks!

Mathieu

Quoted 27 lines · ----- On Sep 26, 2017, at 1:46 PM, Michael Jeanson [email protected] wrote:

---
wrapper/vmalloc.h | 2 +-

1 file changed, 1 insertion(+), 1 deletion(-)
wrapper/vmalloc.h +1 -2
index 2dd06cb..e117584 100644
@@ -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.
--

2.7.4

Signature · 7 lines
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com
_______________________________________________
lttng-dev mailing list
[email protected]
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev