diff options
author | Jisheng Zhang <jszhang@kernel.org> | 2021-11-28 19:07:37 +0300 |
---|---|---|
committer | Palmer Dabbelt <palmer@rivosinc.com> | 2022-01-09 22:02:39 +0300 |
commit | 7f3de1adb377960bc061b1d7ee477527d499d2bd (patch) | |
tree | 4b7a1230f381e93cce3a8af19d6fb4230398140b /arch/riscv/include | |
parent | decf89f86ecd3c3c3de81c562010d5797bea3de1 (diff) | |
download | linux-7f3de1adb377960bc061b1d7ee477527d499d2bd.tar.xz |
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>
Diffstat (limited to 'arch/riscv/include')
-rw-r--r-- | arch/riscv/include/asm/smp.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/riscv/include/asm/smp.h b/arch/riscv/include/asm/smp.h index a7d2811f3536..e2b0d6c40a6c 100644 --- a/arch/riscv/include/asm/smp.h +++ b/arch/riscv/include/asm/smp.h @@ -63,8 +63,6 @@ asmlinkage void smp_callin(void); #if defined CONFIG_HOTPLUG_CPU int __cpu_disable(void); void __cpu_die(unsigned int cpu); -void cpu_stop(void); -#else #endif /* CONFIG_HOTPLUG_CPU */ #else |