Commit 263afbdd authored by Yong Zhang's avatar Yong Zhang Committed by Ralf Baechle

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

To prepare for smoothing set_cpu_[active|online]() mess up
Signed-off-by: default avatarYong Zhang <yong.zhang0@gmail.com>
Cc: Sergei Shtylyov <sshtylyov@mvista.com>
Cc: David Daney <david.daney@cavium.com>
Acked-by: default avatarDavid Daney <david.daney@cavium.com>
Patchwork: https://patchwork.linux-mips.org/patch/3848/Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 70dc8fa7
...@@ -115,11 +115,11 @@ static void yos_send_ipi_mask(const struct cpumask *mask, unsigned int action) ...@@ -115,11 +115,11 @@ static void yos_send_ipi_mask(const struct cpumask *mask, unsigned int action)
*/ */
static void __cpuinit yos_init_secondary(void) static void __cpuinit yos_init_secondary(void)
{ {
set_c0_status(ST0_CO | ST0_IE | ST0_IM);
} }
static void __cpuinit yos_smp_finish(void) static void __cpuinit yos_smp_finish(void)
{ {
set_c0_status(ST0_CO | ST0_IM | ST0_IE);
} }
/* Hook for after all CPUs are online */ /* Hook for after all CPUs are online */
......
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