Эх сурвалжийг харах

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

Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Vineet Gupta 8 жил өмнө
parent
commit
f5f3bde4f6

+ 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.