Skip to content
Commit 5365421f authored by Yong Cong Sin's avatar Yong Cong Sin Committed by Johan Hedberg
Browse files

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: default avatarYong Cong Sin <ycsin@meta.com>
Signed-off-by: default avatarYong Cong Sin <yongcong.sin@gmail.com>
parent 7844f5ae
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment