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.11.0-rc1~109 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=01ab511358519483fe46e8887d2b1332e1a628f1;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.