From: Michael Jeanson Date: Tue, 26 Sep 2017 17:46:30 +0000 (-0400) Subject: Fix: vmalloc wrapper on kernel >= 4.12 X-Git-Tag: v2.9.4~6 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=ecda9325cd5ad6b69600fd4d88c46095d22f95e1;p=lttng-modules.git Fix: vmalloc wrapper on kernel >= 4.12 Signed-off-by: Michael Jeanson Signed-off-by: Mathieu Desnoyers --- diff --git a/wrapper/vmalloc.h b/wrapper/vmalloc.h index 2dd06cbf..e117584f 100644 --- a/wrapper/vmalloc.h +++ b/wrapper/vmalloc.h @@ -27,6 +27,7 @@ #include #include +#include #ifdef CONFIG_KALLSYMS @@ -105,7 +106,6 @@ void lttng_kvfree(const void *addr) #else #include -#include /* * kallsyms wrapper of __vmalloc_node with a fallback to kmalloc_node.