From: Vineet Gupta Date: Thu, 29 Sep 2016 22:19:46 +0000 (-0700) Subject: ARC: ARCompact entry: elide re-reading ECR in ProtV handler X-Git-Tag: v4.10-rc1~22^2~5 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=f5f3bde4f676ea4b23ac1d7293c69a069e687351;p=linux.git ARC: ARCompact entry: elide re-reading ECR in ProtV handler Signed-off-by: Vineet Gupta --- diff --git a/arch/arc/kernel/entry-compact.S b/arch/arc/kernel/entry-compact.S index 98812c1248df..9211707634dc 100644 --- a/arch/arc/kernel/entry-compact.S +++ b/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.