svn commit: r216382 - head/sys/i386/xen
Colin Percival
cperciva at FreeBSD.org
Sat Dec 11 20:12:43 UTC 2010
Author: cperciva
Date: Sat Dec 11 20:12:42 2010
New Revision: 216382
URL: http://svn.freebsd.org/changeset/base/216382
Log:
Make the machdep.independent_wallclock sysctl do what it says on the box.
Modified:
head/sys/i386/xen/clock.c
Modified: head/sys/i386/xen/clock.c
==============================================================================
--- head/sys/i386/xen/clock.c Sat Dec 11 17:57:42 2010 (r216381)
+++ head/sys/i386/xen/clock.c Sat Dec 11 20:12:42 2010 (r216382)
@@ -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();
More information about the svn-src-head
mailing list