From: wu zhangjin Date: Sat, 30 Oct 2010 15:19:35 +0000 (-0700) Subject: fs/compat.c: fix build on MIPS/s390 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=504b701bb1655747575095543c083267418e02ac;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git fs/compat.c: fix build on MIPS/s390 The definition of PAGE_CACHE_MASK in is needed to use MAX_RW_COUNT, and on x86-64 that gets done indirectly through the architecture header includes. But on MIPS and s390 that doesn't happen, and we need to make sure that fs/compat.c includes pagemap.h explicitly. Introduced in commit 435f49a518c7 ("readv/writev: do the same MAX_RW_COUNT truncation that read/write does"). Reported-by: Sachin Sant (S390) Reported-by: wu zhangjin (MIPS) Signed-off-by: Linus Torvalds --- diff --git a/fs/compat.c b/fs/compat.c index ff66c0d7583d..c580c322fa6b 100644 --- a/fs/compat.c +++ b/fs/compat.c @@ -49,6 +49,7 @@ #include #include #include +#include #include #include