Subject: CVS commit: src/sys/arch
To: None <source-changes@NetBSD.org>
From: Izumi Tsutsui <tsutsui@netbsd.org>
List: source-changes
Date: 11/17/2006 21:01:03
Module Name:	src
Committed By:	tsutsui
Date:		Fri Nov 17 21:01:03 UTC 2006

Modified Files:
	src/sys/arch/algor/algor: autoconf.c
	src/sys/arch/cobalt/cobalt: autoconf.c
	src/sys/arch/evbmips/alchemy: autoconf.c
	src/sys/arch/evbmips/atheros: autoconf.c
	src/sys/arch/evbmips/malta: autoconf.c
	src/sys/arch/mips/mips: mips3_clockintr.c
	src/sys/arch/sgimips/sgimips: autoconf.c clock.c

Log Message:
Defer _spl0() or _splnone() calls (which enable hardware interrupts)
from cpu_configure(9) to cpu_initclocks(9) on mips ports which use
mips3_clockintr.c:mips3_clockintr() (i.e. CPU INT5 clock) to avoid
hardclock(9) before softclock interrupt is initialized in initclocks().
This should be harmless because initclocks() is a part of configure()
in these days and there is no MI function which expects hardware
interrupts between cpu_configure(9) and cpu_initclocks(9).

Disccussed on tech-kern and port-mips.


To generate a diff of this commit:
cvs rdiff -r1.14 -r1.15 src/sys/arch/algor/algor/autoconf.c
cvs rdiff -r1.23 -r1.24 src/sys/arch/cobalt/cobalt/autoconf.c
cvs rdiff -r1.12 -r1.13 src/sys/arch/evbmips/alchemy/autoconf.c
cvs rdiff -r1.6 -r1.7 src/sys/arch/evbmips/atheros/autoconf.c
cvs rdiff -r1.9 -r1.10 src/sys/arch/evbmips/malta/autoconf.c
cvs rdiff -r1.2 -r1.3 src/sys/arch/mips/mips/mips3_clockintr.c
cvs rdiff -r1.31 -r1.32 src/sys/arch/sgimips/sgimips/autoconf.c
cvs rdiff -r1.18 -r1.19 src/sys/arch/sgimips/sgimips/clock.c

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