riscv: remove cpu_stop()
authorJisheng Zhang <jszhang@kernel.org>
Sun, 28 Nov 2021 16:07:37 +0000 (00:07 +0800)
committerPalmer Dabbelt <palmer@rivosinc.com>
Sun, 9 Jan 2022 19:02:39 +0000 (11:02 -0800)
commit7f3de1adb377960bc061b1d7ee477527d499d2bd
tree4b7a1230f381e93cce3a8af19d6fb4230398140b
parentdecf89f86ecd3c3c3de81c562010d5797bea3de1
riscv: remove cpu_stop()

Except arch_cpu_idle_dead(), no users of this function. So remove
cpu_stop() and fold its code into arch_cpu_idle_dead().

Signed-off-by: Jisheng Zhang <jszhang@kernel.org>
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
arch/riscv/include/asm/smp.h
arch/riscv/kernel/cpu-hotplug.c