diff options
author | 2023-11-21 15:47:24 -0800 | |
---|---|---|
committer | 2024-01-04 15:03:05 -0800 | |
commit | a4166aec11309d24e650e74cf8191a6d25a97fcf (patch) | |
tree | 7ae69c76b8223b8d805b8e2df66782aca1938586 /arch/riscv/kernel/cpu_ops.c | |
parent | Linux 6.7-rc1 (diff) | |
download | linux-a4166aec11309d24e650e74cf8191a6d25a97fcf.tar.gz linux-a4166aec11309d24e650e74cf8191a6d25a97fcf.tar.bz2 linux-a4166aec11309d24e650e74cf8191a6d25a97fcf.zip |
riscv: Deduplicate code in setup_smp()
Both the ACPI and DT implementations contain some of the same code.
Move it to the calling function so it is not duplicated.
Signed-off-by: Samuel Holland <samuel.holland@sifive.com>
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20231121234736.3489608-2-samuel.holland@sifive.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'arch/riscv/kernel/cpu_ops.c')
0 files changed, 0 insertions, 0 deletions