diff options
author | Sunil V L <sunilvl@ventanamicro.com> | 2022-05-27 10:47:39 +0530 |
---|---|---|
committer | Palmer Dabbelt <palmer@rivosinc.com> | 2022-07-19 16:38:58 -0700 |
commit | 869d40bdfca05e67ac6979535c485ab2c8fccc63 (patch) | |
tree | d80f268f0aebd08008d974861f63965e11cbfe75 /arch/riscv/kernel/cpu_ops_spinwait.c | |
parent | f2906aa863381afb0015a9eb7fefad885d4e5a56 (diff) |
riscv: cpu_ops_sbi: Add 64bit hartid support on RV64
The hartid can be a 64bit value on RV64 platforms.
Modify the hartid variable type to unsigned long so that it can
hold 64bit value on RV64 platforms.
Signed-off-by: Sunil V L <sunilvl@ventanamicro.com>
Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Atish Patra <atishp@rivosinc.com>
Link: https://lore.kernel.org/r/20220527051743.2829940-2-sunilvl@ventanamicro.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'arch/riscv/kernel/cpu_ops_spinwait.c')
0 files changed, 0 insertions, 0 deletions