Commit 8c976e34 authored by Ralf Baechle's avatar Ralf Baechle

[MIPS] VSMP: Fix initialization ordering bug.

Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 83d0f233
...@@ -236,8 +236,6 @@ void __init plat_smp_setup(void) ...@@ -236,8 +236,6 @@ void __init plat_smp_setup(void)
dvpe(); dvpe();
dmt(); dmt();
mips_mt_set_cpuoptions();
/* Put MVPE's into 'configuration state' */ /* Put MVPE's into 'configuration state' */
set_c0_mvpcontrol(MVPCONTROL_VPC); set_c0_mvpcontrol(MVPCONTROL_VPC);
...@@ -263,6 +261,8 @@ void __init plat_smp_setup(void) ...@@ -263,6 +261,8 @@ void __init plat_smp_setup(void)
void __init plat_prepare_cpus(unsigned int max_cpus) void __init plat_prepare_cpus(unsigned int max_cpus)
{ {
mips_mt_set_cpuoptions();
/* set up ipi interrupts */ /* set up ipi interrupts */
if (cpu_has_vint) { if (cpu_has_vint) {
set_vi_handler(MIPS_CPU_IPI_RESCHED_IRQ, ipi_resched_dispatch); set_vi_handler(MIPS_CPU_IPI_RESCHED_IRQ, ipi_resched_dispatch);
......
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