projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix: vmalloc wrapper on kernel >= 4.12
[lttng-modules.git]
/
wrapper
/
vmalloc.h
diff --git
a/wrapper/vmalloc.h
b/wrapper/vmalloc.h
index 2dd06cbf53e0fe565538b99fd633be504f7b7f9f..e117584f37b6ae66a7ccae65dced8c061444d58e 100644
(file)
--- a/
wrapper/vmalloc.h
+++ b/
wrapper/vmalloc.h
@@
-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.024317 seconds
and
4
git commands to generate.