patch-2.2.0-pre8 linux/arch/alpha/kernel/process.c
Next file: linux/arch/alpha/kernel/setup.c
Previous file: linux/arch/alpha/kernel/irq.c
Back to the patch index
Back to the overall index
- Lines: 22
- Date:
Mon Jan 18 09:55:50 1999
- Orig file:
v2.2.0-pre7/linux/arch/alpha/kernel/process.c
- Orig date:
Wed Jan 13 15:00:41 1999
diff -u --recursive --new-file v2.2.0-pre7/linux/arch/alpha/kernel/process.c linux/arch/alpha/kernel/process.c
@@ -261,20 +261,15 @@
{
if (!usp)
usp = rdusp();
- return do_fork(clone_flags & ~CLONE_VFORK, usp, (struct pt_regs *) (swstack+1));
+ return do_fork(clone_flags, usp, (struct pt_regs *) (swstack+1));
}
int alpha_vfork(struct switch_stack * swstack)
{
int child;
- struct semaphore sem = MUTEX_LOCKED;
- current->vfork_sem = &sem;
child = do_fork(CLONE_VFORK | CLONE_VM | SIGCHLD, rdusp(),
(struct pt_regs *) (swstack+1));
-
- if (child > 0)
- down(&sem);
return child;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov