OSDN Git Service

MIPS: Netlogic: Fix wait for slave CPUs
authorShanghui Liu <shliu@broadcom.com>
Wed, 7 Jan 2015 11:28:22 +0000 (16:58 +0530)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 1 Apr 2015 15:21:47 +0000 (17:21 +0200)
commit46ab6f24ac7b05c07e2936124b45da5f2f8fdc61
tree8e5bccbdac919dc32039a7a08a94a2839e68d496
parentc775aa12307efecb00ea78265210535dc41cdd49
MIPS: Netlogic: Fix wait for slave CPUs

For core 0, the condition of "cpu == bootcpu" is always true, so it
does not wait for other three threads to become ready. Fix this by
using correct check.

Signed-off-by: Shanghui Liu <shliu@broadcom.com>
Signed-off-by: Jayachandran C <jchandra@broadcom.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/8881/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/netlogic/xlp/wakeup.c