patch-2.4.0-test8 linux/arch/sh/kernel/process.c
Next file: linux/arch/sh/kernel/signal.c
Previous file: linux/arch/s390/kernel/smp.c
Back to the patch index
Back to the overall index
- Lines: 35
- Date:
Tue Sep 5 13:50:01 2000
- Orig file:
v2.4.0-test7/linux/arch/sh/kernel/process.c
- Orig date:
Thu Jul 27 17:37:59 2000
diff -u --recursive --new-file v2.4.0-test7/linux/arch/sh/kernel/process.c linux/arch/sh/kernel/process.c
@@ -211,6 +211,7 @@
asmlinkage void ret_from_fork(void);
int copy_thread(int nr, unsigned long clone_flags, unsigned long usp,
+ unsigned long unused,
struct task_struct *p, struct pt_regs *regs)
{
struct pt_regs *childregs;
@@ -292,7 +293,7 @@
unsigned long r6, unsigned long r7,
struct pt_regs regs)
{
- return do_fork(SIGCHLD, regs.regs[15], ®s);
+ return do_fork(SIGCHLD, regs.regs[15], ®s, 0);
}
asmlinkage int sys_clone(unsigned long clone_flags, unsigned long newsp,
@@ -301,7 +302,7 @@
{
if (!newsp)
newsp = regs.regs[15];
- return do_fork(clone_flags, newsp, ®s);
+ return do_fork(clone_flags, newsp, ®s, 0);
}
/*
@@ -318,7 +319,7 @@
unsigned long r6, unsigned long r7,
struct pt_regs regs)
{
- return do_fork(CLONE_VFORK | CLONE_VM | SIGCHLD, regs.regs[15], ®s);
+ return do_fork(CLONE_VFORK | CLONE_VM | SIGCHLD, regs.regs[15], ®s, 0);
}
/*
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)