From: Markus Trippelsdorf <markus@trippelsdorf.de>
To: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>,
Linus Torvalds <torvalds@linux-foundation.org>
Subject: "mm: don't access vm_flags as 'int'" build failure
Date: Thu, 26 May 2011 21:43:28 +0200 [thread overview]
Message-ID: <20110526194328.GA1749@x4.trippels.de> (raw)
Commit ca16d140 (mm: don't access vm_flags as 'int') breaks the build
for me:
CC fs/proc/meminfo.o
In file included from fs/proc/meminfo.c:2:0:
include/linux/hugetlb.h:195:3: error: unknown type name ‘vm_flags_t’
This fixes the problem:
diff --git a/include/linux/hugetlb.h b/include/linux/hugetlb.h
index cf8931e..665f854 100644
--- a/include/linux/hugetlb.h
+++ b/include/linux/hugetlb.h
@@ -3,6 +3,7 @@
#include <linux/fs.h>
#include <linux/hugetlb_inline.h>
+#include <linux/mm_types.h>
struct ctl_table;
struct user_struct;
--
Markus
reply other threads:[~2011-05-26 19:43 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20110526194328.GA1749@x4.trippels.de \
--to=markus@trippelsdorf.de \
--cc=kosaki.motohiro@jp.fujitsu.com \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@linux-foundation.org \
/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
all inboxes | Powered by JetHome®