diff options
author | cperciva <cperciva@FreeBSD.org> | 2010-12-11 20:12:42 +0000 |
---|---|---|
committer | cperciva <cperciva@FreeBSD.org> | 2010-12-11 20:12:42 +0000 |
commit | 2c819481174363ecef4130ed50ae6003ada3d899 (patch) | |
tree | 9fc3d987eac151ef3a0ed1422ea70ef99e3eee3f /sys | |
parent | 42dfb2d2043139bd225f03c194e21de96015182c (diff) | |
download | FreeBSD-src-2c819481174363ecef4130ed50ae6003ada3d899.zip FreeBSD-src-2c819481174363ecef4130ed50ae6003ada3d899.tar.gz |
Make the machdep.independent_wallclock sysctl do what it says on the box.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/i386/xen/clock.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/i386/xen/clock.c b/sys/i386/xen/clock.c index 2f7046e..5efd66d 100644 --- a/sys/i386/xen/clock.c +++ b/sys/i386/xen/clock.c @@ -340,7 +340,8 @@ clkintr(void *arg) * time base. */ - if (shadow_tv_version != HYPERVISOR_shared_info->wc_version) { + if (shadow_tv_version != HYPERVISOR_shared_info->wc_version && + !independent_wallclock) { printf("[XEN] hypervisor wallclock nudged; nudging TOD.\n"); update_wallclock(); add_uptime_to_wallclock(); |