patch-2.3.26 linux/arch/sh/kernel/sys_sh.c

Next file: linux/arch/sh/kernel/time.c
Previous file: linux/arch/sh/kernel/setup.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.25/linux/arch/sh/kernel/sys_sh.c linux/arch/sh/kernel/sys_sh.c
@@ -44,9 +44,8 @@
 }
 
 asmlinkage unsigned long
-sys_mmap(int fd, unsigned long addr,
-	 unsigned long len, unsigned long prot,
-	 unsigned long flags, unsigned long off)
+sys_mmap(unsigned long addr, unsigned long len, unsigned long prot, 
+	 unsigned long flags, int fd, unsigned long off)
 {
 	int error = -EFAULT;
 	struct file *file = NULL;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)