Skip to content
Commit b98a9227 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 ab77c818
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