projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
856ac3c
)
MIPS: SMTC: delay irq enable to ->smp_finish()
author
Yong Zhang
<
[email protected]
>
Thu, 19 Jul 2012 07:13:53 +0000
(09:13 +0200)
committer
Ralf Baechle
<
[email protected]
>
Thu, 19 Jul 2012 09:23:44 +0000
(11:23 +0200)
To prepare for smoothing set_cpu_[active|online]() mess up
Signed-off-by: Yong Zhang <
[email protected]
>
Cc: Sergei Shtylyov <
[email protected]
>
Cc: David Daney <
[email protected]
>
Acked-by: David Daney <
[email protected]
>
Patchwork: https://patchwork.linux-mips.org/patch/3847/
Signed-off-by: Ralf Baechle <
[email protected]
>
arch/mips/kernel/smtc.c
patch
|
blob
|
history
diff --git
a/arch/mips/kernel/smtc.c
b/arch/mips/kernel/smtc.c
index b450ea529ddfa6f22d620f84044ad23305531ee1..15b5f3cfd20c48b9424dd5364d29cf1aeff77d4a 100644
(file)
--- a/
arch/mips/kernel/smtc.c
+++ b/
arch/mips/kernel/smtc.c
@@
-615,7
+615,6
@@
void __cpuinit smtc_boot_secondary(int cpu, struct task_struct *idle)
void smtc_init_secondary(void)
{
- local_irq_enable();
}
void smtc_smp_finish(void)
@@
-631,6
+630,8
@@
void smtc_smp_finish(void)
if (cpu > 0 && (cpu_data[cpu].vpe_id != cpu_data[cpu - 1].vpe_id))
write_c0_compare(read_c0_count() + mips_hpt_frequency/HZ);
+ local_irq_enable();
+
printk("TC %d going on-line as CPU %d\n",
cpu_data[smp_processor_id()].tc_id, smp_processor_id());
}