[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20110526194328.GA1749@x4.trippels.de>
Date: Thu, 26 May 2011 21:43:28 +0200
From: Markus Trippelsdorf <markus@...ppelsdorf.de>
To: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Cc: KOSAKI Motohiro <kosaki.motohiro@...fujitsu.com>,
Linus Torvalds <torvalds@...ux-foundation.org>
Subject: "mm: don't access vm_flags as 'int'" build failure
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists