Mirror of the lttng-dev mailing list
 help / color / mirror / Atom feed
From: mjeanson@efficios.com (Michael Jeanson)
Subject: [lttng-dev] [PATCH lttng-modules] Fix: vmalloc wrapper on kernel >= 4.12
Date: Tue, 26 Sep 2017 13:46:30 -0400	[thread overview]
Message-ID: <1506447990-27525-1-git-send-email-mjeanson@efficios.com> (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



             reply	other threads:[~2017-09-26 17:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-26 17:46 Michael Jeanson [this message]
2017-09-26 18:00 ` Mathieu Desnoyers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1506447990-27525-1-git-send-email-mjeanson@efficios.com \
    --to=mjeanson@efficios.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox