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

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