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

Modified Files:
	src/sys/kern [netbsd-2-0]: kern_sa.c

Log Message:
Pull up revision 1.57 via patch (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.50.2.1 -r1.50.2.2 src/sys/kern/kern_sa.c

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