summaryrefslogtreecommitdiff
path: root/ipc
diff options
context:
space:
mode:
authorwu zhangjin <wuzhangjin@gmail.com>2010-10-30 08:19:35 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2010-10-30 08:19:35 -0700
commit504b701bb1655747575095543c083267418e02ac (patch)
tree2533953d8b2546ddb24cee560512d776c29e8815 /ipc
parent2d10d8737ccdba752d60106abbc6ed4f37404923 (diff)
downloadlinux-3.10-504b701bb1655747575095543c083267418e02ac.tar.gz
linux-3.10-504b701bb1655747575095543c083267418e02ac.tar.bz2
linux-3.10-504b701bb1655747575095543c083267418e02ac.zip
fs/compat.c: fix build on MIPS/s390
The definition of PAGE_CACHE_MASK in <linux/pagemap.h> 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 <sachinp@in.ibm.com> (S390) Reported-by: wu zhangjin <wuzhangjin@gmail.com> (MIPS) Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions