x86/time: initialise time earlier during start_secondary()

It is safe to do so, and useful for "[second.microseconds]" style timestamps
on printk()s during secondary bringup.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Keir Fraser <keir@xen.org>
This commit is contained in:
Andrew Cooper authored and Jan Beulich committed 2014-03-13 14:37:04 +01:00
1 parent 237bc63847
commit dd2658f966
1 file changed
+2 -2
+2 -2
View File
@@ -347,6 +347,8 @@ void start_secondary(void *unused)
percpu_traps_init();
init_percpu_time();
cpu_init();
smp_callin();
@@ -381,8 +383,6 @@ void start_secondary(void *unused)
cpumask_set_cpu(cpu, &cpu_online_map);
unlock_vector_lock();
init_percpu_time();
/* We can take interrupts now: we're officially "up". */
local_irq_enable();
mtrr_ap_init();
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.