Subject: CVS commit: src/sys/arch/ews4800mips/ews4800mips
To: None <source-changes@NetBSD.org>
From: Izumi Tsutsui <tsutsui@netbsd.org>
List: source-changes
Date: 06/29/2007 16:03:04
Module Name:	src
Committed By:	tsutsui
Date:		Fri Jun 29 16:03:04 UTC 2007

Modified Files:
	src/sys/arch/ews4800mips/ews4800mips: autoconf.c

Log Message:
We have to use _splnone() instead of spl0() to enable interrupts on mips
because spl0() is an alias of _spllower(0) and it doesn't set MIPS_SR_INT_IE.

Fixes ews4800mips kernel getting stuck in cpu_idle(9)
after cpu_configure(9) since yamt-idlelwp merge.
(previous mips_idle() implicitly set MIPS_SR_INT_IE
 but new cpu_idle(9) for mips no longer does it)


To generate a diff of this commit:
cvs rdiff -r1.1 -r1.2 src/sys/arch/ews4800mips/ews4800mips/autoconf.c

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