patch-2.1.17 linux/arch/m68k/kernel/process.c
Next file: linux/arch/m68k/kernel/setup.c
Previous file: linux/arch/m68k/kernel/ksyms.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/m68k/kernel/process.c
-  Orig date: 
Fri Nov 22 18:28:17 1996
diff -u --recursive --new-file v2.1.16/linux/arch/m68k/kernel/process.c linux/arch/m68k/kernel/process.c
@@ -106,7 +106,7 @@
 {
 }
 
-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;
@@ -145,6 +145,8 @@
 			: "memory");
 	/* Restore the state in case the fpu was busy */
 	asm volatile ("frestore %0" : : "m" (p->tss.fpstate[0]));
+
+	return 0;
 }
 
 /* Fill in the fpu structure for a core dump.  */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov