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

csky: Fixup get wrong psr value from phyical reg



We should get psr value from regs->psr in stack, not directly get
it from phyiscal register then save the vector number in
tsk->trap_no.

Signed-off-by: default avatarGuo Ren <guoren@linux.alibaba.com>
parent dd7c983e
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