patch-2.1.17 linux/arch/alpha/kernel/process.c
Next file: linux/arch/alpha/mm/init.c
Previous file: linux/Makefile
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Thu Dec 19 16:48:08 1996
- Orig file:
v2.1.16/linux/arch/alpha/kernel/process.c
- Orig date:
Tue Oct 29 19:58:01 1996
diff -u --recursive --new-file v2.1.16/linux/arch/alpha/kernel/process.c linux/arch/alpha/kernel/process.c
@@ -133,7 +133,7 @@
* Use the passed "regs" pointer to determine how much space we need
* for a kernel fork().
*/
-void copy_thread(int nr, unsigned long clone_flags, unsigned long usp,
+int copy_thread(int nr, unsigned long clone_flags, unsigned long usp,
struct task_struct * p, struct pt_regs * regs)
{
struct pt_regs * childregs;
@@ -159,6 +159,8 @@
p->tss.pal_flags = 1; /* set FEN, clear everything else */
p->tss.flags = current->tss.flags;
p->mm->context = 0;
+
+ return 0;
}
/*
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov