[lttng-dev] [PATCH lttng-modules] Fix: vmalloc wrapper on kernel >= 4.12

Mathieu Desnoyers mathieu.desnoyers at efficios.com
Tue Sep 26 18:00:31 UTC 2017


merged, thanks!

Mathieu

----- On Sep 26, 2017, at 1:46 PM, Michael Jeanson mjeanson at efficios.com wrote:

> Signed-off-by: Michael Jeanson <mjeanson at efficios.com>
> ---
> wrapper/vmalloc.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/wrapper/vmalloc.h b/wrapper/vmalloc.h
> index 2dd06cb..e117584 100644
> --- 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.
> --
> 2.7.4

-- 
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com


More information about the lttng-dev mailing list