summaryrefslogtreecommitdiffstats
path: root/sys/i386/xen/clock.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/i386/xen/clock.c')
-rw-r--r--sys/i386/xen/clock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/i386/xen/clock.c b/sys/i386/xen/clock.c
index 09ed7c3..2f7046e 100644
--- a/sys/i386/xen/clock.c
+++ b/sys/i386/xen/clock.c
@@ -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);
}
OpenPOWER on IntegriCloud