[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] xen s3, No need to check idle vcpu before update_vcpu_system_time().
# HG changeset patch # User Keir Fraser <keir.fraser@xxxxxxxxxx> # Date 1227099123 0 # Node ID 2f8b0e14143c0838b4ce19e2f45b55993662d775 # Parent 876bffced2b8d9102bcba20d154f72ffbdeb7ac5 xen s3, No need to check idle vcpu before update_vcpu_system_time(). Signed-off-by: Kevin Tian <kevin.tian@xxxxxxxxx> --- xen/arch/x86/time.c | 3 +-- 1 files changed, 1 insertion(+), 2 deletions(-) diff -r 876bffced2b8 -r 2f8b0e14143c xen/arch/x86/time.c --- a/xen/arch/x86/time.c Wed Nov 19 12:48:31 2008 +0000 +++ b/xen/arch/x86/time.c Wed Nov 19 12:52:03 2008 +0000 @@ -1244,8 +1244,7 @@ int time_resume(void) do_settime(get_cmos_time() + cmos_utc_offset, 0, NOW()); - if ( !is_idle_vcpu(current) ) - update_vcpu_system_time(current); + update_vcpu_system_time(current); return 0; } _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |