aboutsummaryrefslogtreecommitdiffstats
path: root/arch/tile/kernel/sys.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/tile/kernel/sys.c')
-rw-r--r--arch/tile/kernel/sys.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/tile/kernel/sys.c b/arch/tile/kernel/sys.c
index a3d982b212b4..0427978cea0a 100644
--- a/arch/tile/kernel/sys.c
+++ b/arch/tile/kernel/sys.c
@@ -95,7 +95,7 @@ SYSCALL_DEFINE6(mmap2, unsigned long, addr, unsigned long, len,
95 */ 95 */
96SYSCALL_DEFINE6(mmap, unsigned long, addr, unsigned long, len, 96SYSCALL_DEFINE6(mmap, unsigned long, addr, unsigned long, len,
97 unsigned long, prot, unsigned long, flags, 97 unsigned long, prot, unsigned long, flags,
98 unsigned long, fd, unsigned long, offset) 98 unsigned long, fd, off_t, offset)
99{ 99{
100 if (offset & ((1 << PAGE_SHIFT) - 1)) 100 if (offset & ((1 << PAGE_SHIFT) - 1))
101 return -EINVAL; 101 return -EINVAL;