]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit82f23b0f22e2c2197aca4675f59affa4818bbf24
tree8e5bccbdac919dc32039a7a08a94a2839e68d496
parent3d8c82e4b3f30dc9e2eb186f053901e8136f48a1
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