patch-2.4.6 linux/arch/mips/kernel/syscall.c
Next file: linux/arch/mips/kernel/syscalls.h
Previous file: linux/arch/mips/kernel/smp.c
Back to the patch index
Back to the overall index
- Lines: 28
- Date:
Mon Jul 2 13:56:40 2001
- Orig file:
v2.4.5/linux/arch/mips/kernel/syscall.c
- Orig date:
Mon Mar 19 12:35:09 2001
diff -u --recursive --new-file v2.4.5/linux/arch/mips/kernel/syscall.c linux/arch/mips/kernel/syscall.c
@@ -92,22 +92,23 @@
return do_mmap2(addr, len, prot, flags, fd, pgoff);
}
-asmlinkage int sys_fork(struct pt_regs regs)
+save_static_function(sys_fork);
+static_unused int _sys_fork(struct pt_regs regs)
{
int res;
- save_static(®s);
res = do_fork(SIGCHLD, regs.regs[29], ®s, 0);
return res;
}
-asmlinkage int sys_clone(struct pt_regs regs)
+
+save_static_function(sys_clone);
+static_unused int _sys_clone(struct pt_regs regs)
{
unsigned long clone_flags;
unsigned long newsp;
int res;
- save_static(®s);
clone_flags = regs.regs[4];
newsp = regs.regs[5];
if (!newsp)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)