summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorVineet Gupta <vgupta@synopsys.com>2016-09-29 15:19:46 -0700
committerVineet Gupta <vgupta@synopsys.com>2016-12-13 13:16:11 -0800
commitf5f3bde4f676ea4b23ac1d7293c69a069e687351 (patch)
tree27f15dc23e6057fb6d1f6c948daa5c41cc35b8b5 /arch
parent7badf6fefca8278e749e82411fdb98b123cca50e (diff)
downloadlinux-f5f3bde4f676ea4b23ac1d7293c69a069e687351.tar.gz
linux-f5f3bde4f676ea4b23ac1d7293c69a069e687351.tar.bz2
linux-f5f3bde4f676ea4b23ac1d7293c69a069e687351.zip
ARC: ARCompact entry: elide re-reading ECR in ProtV handler
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arc/kernel/entry-compact.S2
1 files changed, 1 insertions, 1 deletions
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.