patch-2.0.11 linux/arch/i386/kernel/process.c

Next file: linux/arch/i386/kernel/traps.c
Previous file: linux/arch/i386/defconfig
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.0.10/linux/arch/i386/kernel/process.c linux/arch/i386/kernel/process.c
@@ -332,7 +332,7 @@
 /*
  * fill in the fpu structure for a core dump..
  */
-int dump_fpu (struct user_i387_struct* fpu)
+int dump_fpu (struct pt_regs * regs, struct user_i387_struct* fpu)
 {
 	int fpvalid;
 
@@ -377,7 +377,7 @@
 
 	dump->regs = *regs;
 
-	dump->u_fpvalid = dump_fpu (&dump->i387);
+	dump->u_fpvalid = dump_fpu (regs, &dump->i387);
 }
 
 asmlinkage int sys_fork(struct pt_regs regs)

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov