Skip to content

Commit

Permalink
[MIPS] VSMP: Fix initialization ordering bug.
Browse files Browse the repository at this point in the history
Signed-off-by: Ralf Baechle <[email protected]>
  • Loading branch information
ralfbaechle committed Jul 4, 2007
1 parent 83d0f23 commit 8c976e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/mips/kernel/smp-mt.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand All @@ -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);
Expand Down

0 comments on commit 8c976e3

Please sign in to comment.