patch-2.3.32 linux/arch/i386/kernel/process.c
Next file: linux/arch/i386/kernel/traps.c
Previous file: linux/arch/i386/kernel/pci-pc.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Sat Dec 11 07:42:20 1999
- Orig file:
v2.3.31/linux/arch/i386/kernel/process.c
- Orig date:
Tue Dec 7 09:32:40 1999
diff -u --recursive --new-file v2.3.31/linux/arch/i386/kernel/process.c linux/arch/i386/kernel/process.c
@@ -462,7 +462,7 @@
struct pt_regs * childregs;
childregs = ((struct pt_regs *) (THREAD_SIZE + (unsigned long) p)) - 1;
- *childregs = *regs;
+ struct_cpy(childregs, regs);
childregs->eax = 0;
childregs->esp = esp;
@@ -475,7 +475,7 @@
savesegment(gs,p->thread.gs);
unlazy_fpu(current);
- p->thread.i387 = current->thread.i387;
+ struct_cpy(&p->thread.i387, ¤t->thread.i387);
return 0;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)