Subject: CVS commit: src/sys/arch/mips/mips
To: None <source-changes@NetBSD.org>
From: Izumi Tsutsui <tsutsui@netbsd.org>
List: source-changes
Date: 07/18/2007 13:46:47
Module Name:	src
Committed By:	tsutsui
Date:		Wed Jul 18 13:46:47 UTC 2007

Modified Files:
	src/sys/arch/mips/mips: vm_machdep.c

Log Message:
Don't set PSL_LOWIPL to SR on switching to lwp_trampoline().
If interrupts are enabled when kernel is switched to lwp_trampoline(),
we could get lock errors by interrupts before lwp_unlock() in lwp_startup()
is called. The spl is lowered by spl0() in lwp_startup() after lwp_unlock().

Ok'ed by mhitch@ and ad@ on port-mips.


To generate a diff of this commit:
cvs rdiff -r1.117 -r1.118 src/sys/arch/mips/mips/vm_machdep.c

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