In xen_get_timecount, return the full ns-precision time rather than

rounding to 1/HZ precision.

I have no idea why the rounding was introduced in the first place, but
it makes FreeBSD unhappy.
This commit is contained in:
Colin Percival 2010-11-22 09:04:29 +00:00
parent 59d8bf609f
commit c3f128981e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=215663

View File

@ -829,7 +829,7 @@ xen_get_timecount(struct timecounter *tc)
clk = shadow->system_timestamp + get_nsec_offset(shadow);
return (uint32_t)((clk / NS_PER_TICK) * NS_PER_TICK);
return (uint32_t)(clk);
}