Subject: CVS commit: src/sys/arch/sparc64/sparc64
To: None <source-changes@NetBSD.org>
From: Martin Husemann <martin@netbsd.org>
List: source-changes
Date: 01/16/2004 12:42:41
Module Name:	src
Committed By:	martin
Date:		Fri Jan 16 12:42:41 UTC 2004

Modified Files:
	src/sys/arch/sparc64/sparc64: vm_machdep.c

Log Message:
Don't rely on proc_trampoline to clear condition codes for a new
child process on fork - it could be overtaken by a signal delivery
and then use the stale condition code in the trap frame.
Instead, set tf_tstate aproprietaly right from the start.
Fixes PR sparc64/20675.
Many thanks to Paul Kranenburg for hints on a similar problem he fixed
for the sparc port.


To generate a diff of this commit:
cvs rdiff -r1.53 -r1.54 src/sys/arch/sparc64/sparc64/vm_machdep.c

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