]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: call set_cpu_online() on cpu being brought up with irq disabled
authorYong Zhang <yong.zhang@windriver.com>
Thu, 19 Jul 2012 07:13:53 +0000 (09:13 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 19 Jul 2012 09:23:44 +0000 (11:23 +0200)
commitf1d4556141f6c72a0b6fa65eaaf07133b04b43e2
tree48868fe81c6e29b1df7e09386b40d6c1115094e5
parentce48ee9ec181d20d951a5d03a4ee50c029141f09
MIPS: call set_cpu_online() on cpu being brought up with irq disabled

To prevent a problem as commit 9e918246 [sched: Cleanup cpu_active madness]
and commit ad33ddb3 [sched: Fix select_fallback_rq() vs cpu_active/cpu_online]
try to resolve, move set_cpu_online() to the brought up CPU and with irq
disabled.

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/3851/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/smp.c