diff options
Diffstat (limited to 'sys/i386/xen/mp_machdep.c')
-rw-r--r-- | sys/i386/xen/mp_machdep.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/i386/xen/mp_machdep.c b/sys/i386/xen/mp_machdep.c index 6e0fa23..1bfc0e9 100644 --- a/sys/i386/xen/mp_machdep.c +++ b/sys/i386/xen/mp_machdep.c @@ -628,8 +628,11 @@ init_secondary(void) while (smp_started == 0) ia32_pause(); - PCPU_SET(curthread, PCPU_GET(idlethread)); + + /* Start per-CPU event timers. */ + cpu_initclocks_ap(); + /* enter the scheduler */ sched_throw(NULL); |