Subject: CVS commit: [netbsd-2-0] src/sys/arch/sparc64/sparc64
To: None <source-changes@NetBSD.org>
From: Matthias Scheler <tron@netbsd.org>
List: source-changes
Date: 03/20/2005 11:58:40
Module Name:	src
Committed By:	tron
Date:		Sun Mar 20 11:58:40 UTC 2005

Modified Files:
	src/sys/arch/sparc64/sparc64 [netbsd-2-0]: machdep.c

Log Message:
Pull up revision 1.177 (requested by chs in ticket #1160):
define a new LWP flag which indicates that we're in the process of
doing a context switch.  use this on sparc and sparc64 to avoid trying
to access user memory (writing the register windows back to the stack)
in this case (since it's both unnecessary and wrong).


To generate a diff of this commit:
cvs rdiff -r1.165 -r1.165.2.1 src/sys/arch/sparc64/sparc64/machdep.c

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