* "mm: don't access vm_flags as 'int'" build failure
@ 2011-05-26 19:43 Markus Trippelsdorf
0 siblings, 0 replies; only message in thread
From: Markus Trippelsdorf @ 2011-05-26 19:43 UTC (permalink / raw)
To: Linux Kernel Mailing List; +Cc: KOSAKI Motohiro, Linus Torvalds
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-05-26 19:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-26 19:43 "mm: don't access vm_flags as 'int'" build failure Markus Trippelsdorf
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®