Commit a8717d28 authored by Vineet Gupta's avatar Vineet Gupta

ARC: entry.S: Trap handler to use r10 for syscall vs. brkpt decision

Signed-off-by: default avatarVineet Gupta <vgupta@synopsys.com>
parent 9b8c7d1e
......@@ -505,8 +505,8 @@ ENTRY(EV_Trap)
EXCEPTION_PROLOGUE
;------- (4) What caused the Trap --------------
lr r12, [ecr]
bmsk.f 0, r12, 7
lr r10, [ecr]
bmsk.f 0, r10, 7
bnz trap_with_param
; ======= (5a) Trap is due to System Call ========
......
Markdown is supported
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