Skip to contentSkip to conversation

"mm: don't access vm_flags as 'int'" build failure

PATCH Markus Trippelsdorf 1 participant 1 message May 26, 2011 HugeTLB

lore
Share & tools
lore
#0 lore 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:

include/linux/hugetlb.h +1 -0
index cf8931e..665f854 100644
@@ -3,6 +3,7 @@
 
 #include <linux/fs.h>
 #include <linux/hugetlb_inline.h>
+#include <linux/mm_types.h>
 
 struct ctl_table;
 struct user_struct;
Signature · 1 line
Markus