aboutsummaryrefslogtreecommitdiffstats
path: root/arch/xtensa/kernel/syscalls.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/xtensa/kernel/syscalls.c')
-rw-r--r--arch/xtensa/kernel/syscalls.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/xtensa/kernel/syscalls.c b/arch/xtensa/kernel/syscalls.c
index 7270509c44de..f20c6494c518 100644
--- a/arch/xtensa/kernel/syscalls.c
+++ b/arch/xtensa/kernel/syscalls.c
@@ -69,8 +69,8 @@ int sys_pipe(int __user *userfds)
69/* 69/*
70 * Common code for old and new mmaps. 70 * Common code for old and new mmaps.
71 */ 71 */
72long sys_mmap2(unsigned long addr, unsigned long len, unsigned long prot, 72long sys_mmap(unsigned long addr, unsigned long len, unsigned long prot,
73 unsigned long flags, unsigned long fd, unsigned long pgoff) 73 unsigned long flags, unsigned long fd, unsigned long pgoff)
74{ 74{
75 int error = -EBADF; 75 int error = -EBADF;
76 struct file * file = NULL; 76 struct file * file = NULL;