Subject: CVS commit: src/sys/kern
To: None <source-changes@NetBSD.org>
From: Frederick Bruckman <fredb@netbsd.org>
List: source-changes
Date: 06/27/2004 01:36:04
Module Name:	src
Committed By:	fredb
Date:		Sun Jun 27 01:36:04 UTC 2004

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

Log Message:
Partly back out the last, to avoid a deadlock when microtime() is called
from levels below IPL_CLOCK (pointed out by thorpej). Just take the lock
before reading the time and cycle counter.


To generate a diff of this commit:
cvs rdiff -r1.8 -r1.9 src/sys/kern/kern_microtime.c

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