diff options
author | 2023-11-21 15:47:26 -0800 | |
---|---|---|
committer | 2024-01-04 15:03:07 -0800 | |
commit | 62ff262227a45bf917fe198885ab7aa19be5a01f (patch) | |
tree | a438b41277a2f4a9948808e0bd50111d28283e70 /arch/riscv/kernel/fpu.S | |
parent | riscv: Remove unused members from struct cpu_operations (diff) | |
download | linux-62ff262227a45bf917fe198885ab7aa19be5a01f.tar.gz linux-62ff262227a45bf917fe198885ab7aa19be5a01f.tar.bz2 linux-62ff262227a45bf917fe198885ab7aa19be5a01f.zip |
riscv: Use the same CPU operations for all CPUs
RISC-V provides no binding (ACPI or DT) to describe per-cpu start/stop
operations, so cpu_set_ops() will always detect the same operations for
every CPU. Replace the cpu_ops array with a single pointer to save space
and reduce boot time.
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-4-samuel.holland@sifive.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'arch/riscv/kernel/fpu.S')
0 files changed, 0 insertions, 0 deletions