arch: riscv: use string array instead of switch statement for cause
Get rid of the switch statement and use an string array for the cause instead. This saves about ~600 bytes. Signed-off-by:Yong Cong Sin <ycsin@meta.com> Signed-off-by:
Yong Cong Sin <yongcong.sin@gmail.com>
Loading
Please sign in to comment