"mm: don't access vm_flags as 'int'" build failure
From: Markus Trippelsdorf
Date: Thu May 26 2011 - 15:43:33 EST
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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/