projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
83d0f23
)
[MIPS] VSMP: Fix initialization ordering bug.
author
Ralf Baechle
<ralf@linux-mips.org>
Tue, 3 Jul 2007 16:25:58 +0000
(18:25 +0200)
committer
Ralf Baechle
<ralf@linux-mips.org>
Wed, 4 Jul 2007 14:53:16 +0000
(15:53 +0100)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/smp-mt.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/mips/kernel/smp-mt.c
b/arch/mips/kernel/smp-mt.c
index b8fa7ddd78f6d76b0aae3aefc7b99966fc08db65..19b30d6f172785dd817b00742b05ec911a858053 100644
(file)
--- 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);