Subject: CVS commit: syssrc/sys/arch/sh5
To: None <source-changes@netbsd.org>
From: Steve Woodford <scw@netbsd.org>
List: source-changes
Date: 08/26/2002 13:32:56
Module Name:	syssrc
Committed By:	scw
Date:		Mon Aug 26 10:32:56 UTC 2002

Modified Files:
	syssrc/sys/arch/sh5/include: pcb.h
	syssrc/sys/arch/sh5/sh5: vm_machdep.c

Log Message:
In cpu_fork(), if p1 == curproc, call sh5_savectx() to ensure the
pcb contains valid state before copying it to p2's pcb.
Previously, we just lazy-sync the fpu state. This wasn't quite good
enough if p1 had not previously slept.


To generate a diff of this commit:
cvs rdiff -r1.2 -r1.3 syssrc/sys/arch/sh5/include/pcb.h
cvs rdiff -r1.1 -r1.2 syssrc/sys/arch/sh5/sh5/vm_machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.