summaryrefslogtreecommitdiffstats
path: root/arch/arc/kernel/entry-compact.S
diff options
context:
space:
mode:
authorVineet Gupta2016-09-30 00:19:46 +0200
committerVineet Gupta2016-12-13 22:16:11 +0100
commitf5f3bde4f676ea4b23ac1d7293c69a069e687351 (patch)
tree27f15dc23e6057fb6d1f6c948daa5c41cc35b8b5 /arch/arc/kernel/entry-compact.S
parentARC: axs10x: really enable ARC PGU (diff)
downloadkernel-qcow2-linux-f5f3bde4f676ea4b23ac1d7293c69a069e687351.tar.gz
kernel-qcow2-linux-f5f3bde4f676ea4b23ac1d7293c69a069e687351.tar.xz
kernel-qcow2-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/arc/kernel/entry-compact.S')
-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.