Subject: CVS commit: src/sys/arch/sh3/sh3
To: None <source-changes@NetBSD.org>
From: Valeriy E. Ushakov <uwe@netbsd.org>
List: source-changes
Date: 03/12/2007 00:32:56
Module Name:	src
Committed By:	uwe
Date:		Mon Mar 12 00:32:56 UTC 2007

Modified Files:
	src/sys/arch/sh3/sh3: locore_c.c locore_subr.S

Log Message:
Do cpu_exit with proper locking.

Rename assembly cpu_exit to cpu_do_exit and make a C version of
cpu_exit() to do proper locking.  While here, g/c switch_exit entry
point and don't call lwp_exit2 from cpu_exit.
From ad@

Completes PR port-sh3/35971 - my Jornada now boots to multiuser with a
LOCKDEBUG kernel.


To generate a diff of this commit:
cvs rdiff -r1.18 -r1.19 src/sys/arch/sh3/sh3/locore_c.c
cvs rdiff -r1.31 -r1.32 src/sys/arch/sh3/sh3/locore_subr.S

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