Browse Source

ARC: ARCompact entry: elide re-reading ECR in ProtV handler

Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Vineet Gupta 8 years ago
parent
commit
f5f3bde4f6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      arch/arc/kernel/entry-compact.S

+ 1 - 1
arch/arc/kernel/entry-compact.S

@@ -259,7 +259,7 @@ ENTRY(EV_TLBProtV)
 
 	EXCEPTION_PROLOGUE
 
-	lr  r2, [ecr]
+	mov r2, r9	; ECR set into r9 already
 	lr  r0, [efa]	; Faulting Data address (not part of pt_regs saved above)
 
 	; Exception auto-disables further Intr/exceptions.