Skip to content
Commit ab77c818 authored by Guo Ren's avatar Guo Ren
Browse files

clocksource: riscv: s64ilp32: Use __riscv_xlen instead of CONFIG_32BIT



When s64ilp32 enabled, CONFIG_32BIT=y but __riscv_xlen=64. So we
must use __riscv_xlen to detect real machine XLEN for CSR access.

Signed-off-by: default avatarGuo Ren <guoren@linux.alibaba.com>
Signed-off-by: default avatarGuo Ren <guoren@kernel.org>
parent 4e9d3847
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment