aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/syscalls.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/kernel/syscalls.c')
-rw-r--r--arch/powerpc/kernel/syscalls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/syscalls.c b/arch/powerpc/kernel/syscalls.c
index 7a23721365a6..f72ced11212d 100644
--- a/arch/powerpc/kernel/syscalls.c
+++ b/arch/powerpc/kernel/syscalls.c
@@ -162,7 +162,7 @@ static inline unsigned long do_mmap2(unsigned long addr, size_t len,
162 unsigned long fd, unsigned long off, int shift) 162 unsigned long fd, unsigned long off, int shift)
163{ 163{
164 struct file * file = NULL; 164 struct file * file = NULL;
165 int ret = -EINVAL; 165 unsigned long ret = -EINVAL;
166 166
167 if (shift) { 167 if (shift) {
168 if (off & ((1 << shift) - 1)) 168 if (off & ((1 << shift) - 1))