summaryrefslogtreecommitdiff
path: root/drivers/clocksource/timer-riscv.c
diff options
context:
space:
mode:
authorSunil V L <sunilvl@ventanamicro.com>2022-05-27 08:17:41 +0300
committerPalmer Dabbelt <palmer@rivosinc.com>2022-07-20 02:39:09 +0300
commit62750eae410cf20b7d040395064bac547cfdf540 (patch)
tree7f4428e10aff0ef3761c09d7823314964bf85ade /drivers/clocksource/timer-riscv.c
parentc029e487e7c00e5594a4ae946952605db34e359b (diff)
downloadlinux-62750eae410cf20b7d040395064bac547cfdf540.tar.xz
riscv: smp: Add 64bit hartid support on RV64
The hartid can be a 64bit value on RV64 platforms. Modify the hartid parameter in riscv_hartid_to_cpuid() as 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-4-sunilvl@ventanamicro.com Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'drivers/clocksource/timer-riscv.c')
0 files changed, 0 insertions, 0 deletions