Skip to content

Commit f5f3bde

Browse files
committed
ARC: ARCompact entry: elide re-reading ECR in ProtV handler
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
1 parent 7badf6f commit f5f3bde

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎arch/arc/kernel/entry-compact.S‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ ENTRY(EV_TLBProtV)
259259

260260
EXCEPTION_PROLOGUE
261261

262-
lr r2, [ecr]
262+
mov r2, r9 ; ECR set into r9 already
263263
lr r0, [efa] ; Faulting Data address (not part of pt_regs saved above)
264264

265265
; Exception auto-disables further Intr/exceptions.

0 commit comments

Comments
 (0)