* [lttng-dev] [PATCH lttng-modules] Fix: vmalloc wrapper on kernel >= 4.12
@ 2017-09-26 17:46 Michael Jeanson
2017-09-26 18:00 ` Mathieu Desnoyers
0 siblings, 1 reply; 2+ messages in thread
From: Michael Jeanson @ 2017-09-26 17:46 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* [lttng-dev] [PATCH lttng-modules] Fix: vmalloc wrapper on kernel >= 4.12
2017-09-26 17:46 [lttng-dev] [PATCH lttng-modules] Fix: vmalloc wrapper on kernel >= 4.12 Michael Jeanson
@ 2017-09-26 18:00 ` Mathieu Desnoyers
0 siblings, 0 replies; 2+ messages in thread
From: Mathieu Desnoyers @ 2017-09-26 18:00 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-09-26 18:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-26 17:46 [lttng-dev] [PATCH lttng-modules] Fix: vmalloc wrapper on kernel >= 4.12 Michael Jeanson
2017-09-26 18:00 ` Mathieu Desnoyers
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox