ia64/xen-unstable

changeset 14795:e4bd31a66a2e

[IA64] Bugzilla 942 Fix (timer strangeness on restored PV domain)

Time interpolator remembers last status. When domain is restored, it
should be forgotten. Otherwise the interpolator causes bad timer value.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
author Alex Williamson <alex.williamson@hp.com>
date Wed Apr 11 22:46:10 2007 -0600 (2007-04-11)
parents 3d356a2b1c75
children e1580c3bb75a
files linux-2.6-xen-sparse/arch/ia64/xen/hypervisor.c
line diff
     1.1 --- a/linux-2.6-xen-sparse/arch/ia64/xen/hypervisor.c	Wed Apr 11 07:30:02 2007 -0600
     1.2 +++ b/linux-2.6-xen-sparse/arch/ia64/xen/hypervisor.c	Wed Apr 11 22:46:10 2007 -0600
     1.3 @@ -852,6 +852,9 @@ time_resume(void)
     1.4  
     1.5  	/* Just trigger a tick.  */
     1.6  	ia64_cpu_local_tick();
     1.7 +
     1.8 +	/* Time interpolator remembers the last timer status.  Forget it */
     1.9 +	time_interpolator_reset();
    1.10  }
    1.11  
    1.12  ///////////////////////////////////////////////////////////////////////////