mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 10:40:03 +01:00
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:
1 parent
237bc63847
commit
dd2658f966
1 file changed
+2
-2
@@ -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();
|
||||
|
||||