Subject: CVS commit: [yamt-idlelwp] src/sys/arch/sparc64/sparc64
To: None <source-changes@NetBSD.org>
From: Martin Husemann <martin@netbsd.org>
List: source-changes
Date: 04/29/2007 17:27:37
Module Name:	src
Committed By:	martin
Date:		Sun Apr 29 17:27:36 UTC 2007

Modified Files:
	src/sys/arch/sparc64/sparc64 [yamt-idlelwp]: locore.s

Log Message:
In cpu_switchto() save the state to the lwp passed as first arg, not
curlwp (probably does not make a difference).
Explicitly return the previous curlwp (instead of, pretty much hidden,
the first arg) - does not make a difference for current callers, but
let's try to be correct here.
While here, handle a few 32bit kernel nits.


To generate a diff of this commit:
cvs rdiff -r1.235.2.2 -r1.235.2.3 src/sys/arch/sparc64/sparc64/locore.s

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