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>
This commit is contained in:
Jisheng Zhang 2021-11-29 00:07:37 +08:00 • committed by Palmer Dabbelt
commit 7f3de1adb3
No known key found for this signature in database
GPG key ID: 2E1319F35FBB1889
2 changed files with 1 additions and 9 deletions