Skip to content
Commit b9a09a06 authored by Yong Zhang's avatar Yong Zhang Committed by Ralf Baechle
Browse files

MIPS: call set_cpu_online() on cpu being brought up with irq disabled



To prevent a problem as commit 5fbd036b [sched: Cleanup cpu_active madness]
and commit 2baab4e9 [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: default avatarYong Zhang <yong.zhang0@gmail.com>
Cc: Sergei Shtylyov <sshtylyov@mvista.com>
Cc: David Daney <david.daney@cavium.com>
Acked-by: default avatarDavid Daney <david.daney@cavium.com>
Patchwork: https://patchwork.linux-mips.org/patch/3851/


Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 5309bdac
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment