patch-2.1.17 linux/arch/ppc/kernel/process.c
Next file: linux/arch/sparc/Makefile
Previous file: linux/arch/mips/kernel/process.c
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/ppc/kernel/process.c
- Orig date:
Wed Dec 18 15:58:42 1996
diff -u --recursive --new-file v2.1.16/linux/arch/ppc/kernel/process.c linux/arch/ppc/kernel/process.c
@@ -168,7 +168,7 @@
/*
* Copy a thread..
*/
-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)
{
int i;
@@ -218,6 +218,8 @@
childregs->gpr[1] = usp;
}
p->tss.fp_used = 0;
+
+ return 0;
}
/*
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov