Commit 70dc8fa7 authored by Yong Zhang's avatar Yong Zhang Committed by Ralf Baechle

MIPS: SMTC: delay irq enable to ->smp_finish()

To prepare for smoothing set_cpu_[active|online]() mess up
Signed-off-by: 's avatarYong Zhang <>
Cc: Sergei Shtylyov <>
Cc: David Daney <>
Acked-by: 's avatarDavid Daney <>
Patchwork: 's avatarRalf Baechle <>
parent 856ac3c6
......@@ -615,7 +615,6 @@ void __cpuinit smtc_boot_secondary(int cpu, struct task_struct *idle)
void smtc_init_secondary(void)
void smtc_smp_finish(void)
......@@ -631,6 +630,8 @@ void smtc_smp_finish(void)
if (cpu > 0 && (cpu_data[cpu].vpe_id != cpu_data[cpu - 1].vpe_id))
write_c0_compare(read_c0_count() + mips_hpt_frequency/HZ);
printk("TC %d going on-line as CPU %d\n",
cpu_data[smp_processor_id()].tc_id, smp_processor_id());
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment