From: Linus Torvalds Date: Thu, 26 May 2011 19:03:50 +0000 (-0700) Subject: Fix build with !HUGETLBFS X-Git-Tag: firefly_0821_release~7613^2~1126 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=be93d8cfbae1996052e91b2883d306a5d9d0fe18;p=firefly-linux-kernel-4.4.55.git Fix build with !HUGETLBFS I stupidly broke the case of CONFIG_HUGETLBFS=n when doing the conversion to vm_flags_t in commit ca16d140af91 ("mm: don't access vm_flags as 'int'"). And my 'allyesconfig' build didn't find it, for obvious reasons.. Include in . The problem could have been avoided by just turning the hugetlb_file_setup() error wrapper into a macro, but mm_types.h is a reasonable include in this file. Reported-by: Richard -rw- Weinberger Signed-off-by: Linus Torvalds --- diff --git a/include/linux/hugetlb.h b/include/linux/hugetlb.h index cf8931e1dd9d..59225ef27d15 100644 --- a/include/linux/hugetlb.h +++ b/include/linux/hugetlb.h @@ -1,6 +1,7 @@ #ifndef _LINUX_HUGETLB_H #define _LINUX_HUGETLB_H +#include #include #include