Subject: CVS commit: src/sys/kern
To: None <source-changes@NetBSD.org>
From: Simon Burge <simonb@netbsd.org>
List: source-changes
Date: 01/07/2008 10:28:07
Module Name:	src
Committed By:	simonb
Date:		Mon Jan  7 10:28:07 UTC 2008

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

Log Message:
Actually return the computed uptime in microuptime().  Fixes many
wierd timing issues on non-timecounter ports (tested on sbmips, and
omap ARM by Marty Fouts).

Also move the microtime() inside the splclock() block in the same
function - it may be possible for the "time" variable to be updated
after the call to microtime() but before we use it to calculate the
offset from mono_time.


To generate a diff of this commit:
cvs rdiff -r1.115 -r1.116 src/sys/kern/kern_clock.c

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