riscv: Using CSR numbers to access CSRs
Since commit a3182c91 ("RISC-V: Access CSRs using CSR numbers"), we should prefer accessing CSRs using their CSR numbers, but there are several leftovers like sstatus / sptbr we missed. Signed-off-by:Bin Meng <bmeng.cn@gmail.com> Reviewed-by:
Anup Patel <anup@brainfault.org> Reviewed-by:
Christoph Hellwig <hch@lst.de> Signed-off-by:
Paul Walmsley <paul.walmsley@sifive.com>
Showing
Please register or sign in to comment