patch-2.4.0-test8 linux/arch/s390/kernel/process.c
Next file: linux/arch/s390/kernel/signal.c
Previous file: linux/arch/ppc/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/s390/kernel/process.c
- Orig date:
Wed Aug 9 19:19:49 2000
diff -u --recursive --new-file v2.4.0-test7/linux/arch/s390/kernel/process.c linux/arch/s390/kernel/process.c
@@ -264,6 +264,7 @@
}
int copy_thread(int nr, unsigned long clone_flags, unsigned long new_stackp,
+ unsigned long unused,
struct task_struct * p, struct pt_regs * regs)
{
struct stack_frame
@@ -313,7 +314,7 @@
int ret;
lock_kernel();
- ret = do_fork(SIGCHLD, regs.gprs[15], ®s);
+ ret = do_fork(SIGCHLD, regs.gprs[15], ®s, 0);
unlock_kernel();
return ret;
}
@@ -329,7 +330,7 @@
newsp = regs.gprs[2];
if (!newsp)
newsp = regs.gprs[15];
- ret = do_fork(clone_flags, newsp, ®s);
+ ret = do_fork(clone_flags, newsp, ®s, 0);
unlock_kernel();
return ret;
}
@@ -347,7 +348,7 @@
asmlinkage int sys_vfork(struct pt_regs regs)
{
return do_fork(CLONE_VFORK | CLONE_VM | SIGCHLD,
- regs.gprs[15], ®s);
+ regs.gprs[15], ®s, 0);
}
/*
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)