Skip to content

Commit

Permalink
ARC: entry.S: Trap handler to use r10 for syscall vs. brkpt decision
Browse files Browse the repository at this point in the history
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
  • Loading branch information
Vineet Gupta committed Jun 19, 2015
1 parent 9b8c7d1 commit a8717d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/arc/kernel/entry.S
Original file line number Diff line number Diff line change
Expand Up @@ -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 ========
Expand Down

0 comments on commit a8717d2

Please sign in to comment.