Skip to content

Commit

Permalink
MIPS: Octeon: delay enable irq to ->smp_finish()
Browse files Browse the repository at this point in the history
To prepare for smoothing set_cpu_[active|online]() mess up

Signed-off-by: Yong Zhang <yong.zhang0@gmail.com>
Cc: Sergei Shtylyov <sshtylyov@mvista.com>
Cc: David Daney <david.daney@cavium.com>
Acked-by: David Daney <david.daney@cavium.com>
Patchwork: https://patchwork.linux-mips.org/patch/3845/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  • Loading branch information
Yong Zhang authored and ralfbaechle committed Jul 19, 2012
1 parent 68b6352 commit 1bcfecc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/mips/cavium-octeon/smp.c
Expand Up @@ -185,7 +185,6 @@ static void __cpuinit octeon_init_secondary(void)
octeon_init_cvmcount();

octeon_irq_setup_secondary();
raw_local_irq_enable();
}

/**
Expand Down Expand Up @@ -233,6 +232,7 @@ static void octeon_smp_finish(void)

/* to generate the first CPU timer interrupt */
write_c0_compare(read_c0_count() + mips_hpt_frequency / HZ);
local_irq_enable();
}

/**
Expand Down

0 comments on commit 1bcfecc

Please sign in to comment.