Subject: CVS commit: [nathanw_sa] src/sys/arch/vax
To: None <source-changes@netbsd.org>
From: Jason R Thorpe <thorpej@netbsd.org>
List: source-changes
Date: 12/30/2002 20:49:35
Module Name:	src
Committed By:	thorpej
Date:		Mon Dec 30 18:49:34 UTC 2002

Modified Files:
	src/sys/arch/vax/include [nathanw_sa]: macros.h
	src/sys/arch/vax/vax [nathanw_sa]: subr.S

Log Message:
Fix a couple of obvious problems with cpu_preempt():
* Change the calling convention so that it will work with the REI
  executed at the end (i.e. push the PSL and use JSB, rather can CALLS,
  as is done for cpu_switch()).  This makes cpu_preempt() a macro, with
  the actual routine being named Swtchto.
* Make sure to release the sched_lock, as appropriate.


To generate a diff of this commit:
cvs rdiff -r1.23.8.5 -r1.23.8.6 src/sys/arch/vax/include/macros.h
cvs rdiff -r1.2.2.5 -r1.2.2.6 src/sys/arch/vax/vax/subr.S

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