MIPS: kexec: CPS systems to halt nonboot CPUs
authorDengcheng Zhu <dzhu@wavecomp.com>
Tue, 11 Sep 2018 21:49:22 +0000 (14:49 -0700)
committerPaul Burton <paul.burton@mips.com>
Sat, 22 Sep 2018 17:32:33 +0000 (10:32 -0700)
commit1447864bee4cd9ea96fe793ea8fb49a8ea784412
tree8c5dfb1d22b4257fcf855016fe239201f7deac71
parent62cac480f33f8f9413d609cb1601b0ee521a86b8
MIPS: kexec: CPS systems to halt nonboot CPUs

Share code between play_dead() and cps_kexec_nonboot_cpu(). Register the
latter to mp_ops for kexec.

Signed-off-by: Dengcheng Zhu <dzhu@wavecomp.com>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Patchwork: https://patchwork.linux-mips.org/patch/20567/
Cc: pburton@wavecomp.com
Cc: ralf@linux-mips.org
Cc: linux-mips@linux-mips.org
Cc: rachel.mozes@intel.com
arch/mips/kernel/smp-cps.c