Skip to content
Commit 9a43809c 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 5f42ef8b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment