diff options
author | Atish Patra <atishp@rivosinc.com> | 2022-01-20 01:09:16 -0800 |
---|---|---|
committer | Palmer Dabbelt <palmer@rivosinc.com> | 2022-01-20 09:27:11 -0800 |
commit | 0b39eb38f85908e039ce8c9f09868438e029757b (patch) | |
tree | 2d94289a034f5c2526ce06203d8dbb50a91def7c /arch/riscv/boot | |
parent | c78f94f35cf6486c4057317e8de3ddc4c62e12c7 (diff) |
RISC-V: Move the entire hart selection via lottery to SMP
The booting hart selection via lottery is only useful for SMP systems.
Moreover, the lottery selection is only necessary for systems using
spinwait booting method. It is better to keep the entire lottery
selection together so that it can be disabled in future.
Move the lottery selection code to under CONFIG_SMP.
Reviewed-by: Anup Patel <anup@brainfault.org>
Signed-off-by: Atish Patra <atishp@rivosinc.com>
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'arch/riscv/boot')
0 files changed, 0 insertions, 0 deletions