Subject: CVS commit: src/sys/arch/sparc64/sparc64
To: None <source-changes@NetBSD.org>
From: Martin Husemann <martin@netbsd.org>
List: source-changes
Date: 05/19/2007 23:27:43
Module Name: src
Committed By: martin
Date: Sat May 19 23:27:43 UTC 2007
Modified Files:
src/sys/arch/sparc64/sparc64: locore.s
Log Message:
cpu_idle is a leaf function, so we better "return from leaf".
Use return value from cpu_switchto for previous lwp in lwp_trampoline.
Also shamelessly steal a comment from uwe written for sparc that explains
all this.
Thanks to tnn, mrg, and uwe for helping to debug this.
To generate a diff of this commit:
cvs rdiff -r1.244 -r1.245 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.