Subject: CVS commit: src/sys/kern
To: None <source-changes@NetBSD.org>
From: Simon Burge <simonb@netbsd.org>
List: source-changes
Date: 09/07/2006 15:48:14
Module Name:	src
Committed By:	simonb
Date:		Thu Sep  7 15:48:14 UTC 2006

Modified Files:
	src/sys/kern: kern_tc.c

Log Message:
Guard the timecounter manipulations including the call to tc_windup()
in tc_init() with splclock().  Fixes doubled-up "selected timecounter"
messages on some architectures, including pc532 and cobalt.

Fix suggested by Frank Kardel.


To generate a diff of this commit:
cvs rdiff -r1.10 -r1.11 src/sys/kern/kern_tc.c

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