]> xenbits.xensource.com Git - xen.git/commit
x86/time: always count s_time from Xen boot
authorTim Deegan <tim@xen.org>
Mon, 10 Mar 2014 10:18:49 +0000 (11:18 +0100)
committerJan Beulich <jbeulich@suse.com>
Mon, 10 Mar 2014 10:18:49 +0000 (11:18 +0100)
commite3a379c35eff1674ab87f9fc7cb7c5608a8450f3
treeaadbb168915390545096859007602d8f54e566f4
parent7fb8e8b4e58cdd0a4ac457fd25342b35b6851521
x86/time: always count s_time from Xen boot

Timestamped printks() can call NOW() before init_xen_time().
Set a baseline TSC as soon as we've calibrated the TSC rate,
so that NOW() consistently counts from boot time.

Signed-off-by: Tim Deegan <tim@xen.org>
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/boot/head.S
xen/arch/x86/time.c