[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] x86: Fix time_resume() to notify all domains of wallclock change.
# HG changeset patch # User kfraser@xxxxxxxxxxxxxxxxxxxxx # Date 1181636526 -3600 # Node ID 112703751b192ce120023e5b1f8f67243ab68f69 # Parent de47ca8be7feb3134e9b2be5b037c679e5090c94 x86: Fix time_resume() to notify all domains of wallclock change. Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx> --- xen/arch/x86/time.c | 6 ++---- 1 files changed, 2 insertions(+), 4 deletions(-) diff -r de47ca8be7fe -r 112703751b19 xen/arch/x86/time.c --- a/xen/arch/x86/time.c Mon Jun 11 15:50:35 2007 +0100 +++ b/xen/arch/x86/time.c Tue Jun 12 09:22:06 2007 +0100 @@ -957,14 +957,12 @@ int time_suspend(void) int time_resume(void) { - u64 now_sec, tmp = init_pit_and_calibrate_tsc(); + u64 tmp = init_pit_and_calibrate_tsc(); set_time_scale(&this_cpu(cpu_time).tsc_scale, tmp); resume_platform_timer(); - now_sec = read_platform_stime(); - do_div(now_sec, SECONDS(1)); - wc_sec = get_cmos_time() - now_sec; + do_settime(get_cmos_time(), 0, read_platform_stime()); init_percpu_time(); _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |