summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2007-07-03 18:25:58 +0200
committerRalf Baechle <ralf@linux-mips.org>2007-07-04 15:53:16 +0100
commit8c976e34516c9e134488babbb95af182340370c8 (patch)
tree21a8e281d4cfd5a4ecf6c0c213cb4494323ac5a2 /arch
parent83d0f2332edb3001617e6a292c4412ae5f2bf659 (diff)
downloadlinux-3.10-8c976e34516c9e134488babbb95af182340370c8.tar.gz
linux-3.10-8c976e34516c9e134488babbb95af182340370c8.tar.bz2
linux-3.10-8c976e34516c9e134488babbb95af182340370c8.zip
[MIPS] VSMP: Fix initialization ordering bug.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/mips/kernel/smp-mt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/kernel/smp-mt.c b/arch/mips/kernel/smp-mt.c
index b8fa7ddd78f..19b30d6f172 100644
--- a/arch/mips/kernel/smp-mt.c
+++ b/arch/mips/kernel/smp-mt.c
@@ -236,8 +236,6 @@ void __init plat_smp_setup(void)
dvpe();
dmt();
- mips_mt_set_cpuoptions();
-
/* Put MVPE's into 'configuration state' */
set_c0_mvpcontrol(MVPCONTROL_VPC);
@@ -263,6 +261,8 @@ void __init plat_smp_setup(void)
void __init plat_prepare_cpus(unsigned int max_cpus)
{
+ mips_mt_set_cpuoptions();
+
/* set up ipi interrupts */
if (cpu_has_vint) {
set_vi_handler(MIPS_CPU_IPI_RESCHED_IRQ, ipi_resched_dispatch);