Subject: CVS commit: [yamt-idlelwp] src/sys/arch/mips/mips
To: None <source-changes@NetBSD.org>
From: Andrew Doran <ad@netbsd.org>
List: source-changes
Date: 04/19/2007 02:55:30
Module Name:	src
Committed By:	ad
Date:		Thu Apr 19 02:55:29 UTC 2007

Modified Files:
	src/sys/arch/mips/mips [yamt-idlelwp]: locore.S mips_machdep.c

Log Message:
Set up curlwp/curcpu very early, before calling mach_init. Avoids a null
pointer deref on curcpu().


To generate a diff of this commit:
cvs rdiff -r1.164.2.3 -r1.164.2.4 src/sys/arch/mips/mips/locore.S
cvs rdiff -r1.192.2.3 -r1.192.2.4 src/sys/arch/mips/mips/mips_machdep.c

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