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

irqchip: 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 9a43809c
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