xen s3, No need to check idle vcpu before update_vcpu_system_time().
authorKeir Fraser <keir.fraser@citrix.com>
Wed, 19 Nov 2008 12:52:03 +0000 (12:52 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Wed, 19 Nov 2008 12:52:03 +0000 (12:52 +0000)
Signed-off-by: Kevin Tian <kevin.tian@intel.com>
xen/arch/x86/time.c

index ceb360e4d459122c4141f240ab4a2b5ae95c0374..806045a3591f75be9a1e0cf04aed2d5efa6413cd 100644 (file)
@@ -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;
 }