From 504b701bb1655747575095543c083267418e02ac Mon Sep 17 00:00:00 2001 From: wu zhangjin Date: Sat, 30 Oct 2010 08:19:35 -0700 Subject: 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 --- fs/compat.c | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v1.2.3-59-g8ed1b