x86: Fix time_resume() to notify all domains of wallclock change.

Signed-off-by: Keir Fraser <keir@xensource.com>
This commit is contained in:
kfraser@localhost.localdomain committed 2007-06-12 09:22:06 +01:00
1 parent 228dadc99a
commit f64134cdb8
1 file changed
+2 -4
+2 -4
View File
@@ -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();
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.