Skip to content

Commit 6b606c8

Browse files
committed
ARC: entry: ARcompact EV_ProtV to use r10 directly
Signed-off-by: Vineet Gupta <[email protected]>
1 parent c505b0d commit 6b606c8

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

arch/arc/kernel/entry-compact.S

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -254,9 +254,8 @@ END(handle_interrupt_level1)
254254

255255
ENTRY(EV_TLBProtV)
256256

257-
EXCEPTION_PROLOGUE
257+
EXCEPTION_PROLOGUE ; ECR returned in r10
258258

259-
mov r2, r10 ; ECR set into r10 already
260259
lr r0, [efa] ; Faulting Data address (not part of pt_regs saved above)
261260

262261
; Exception auto-disables further Intr/exceptions.
@@ -273,8 +272,7 @@ ENTRY(EV_TLBProtV)
273272
; -Access Violation : 00_23_(00|01|02|03)_00
274273
; x r w r+w
275274
; -Unaligned Access : 00_23_04_00
276-
;
277-
bbit1 r2, ECR_C_BIT_PROTV_MISALIG_DATA, 4f
275+
bbit1 r10, ECR_C_BIT_PROTV_MISALIG_DATA, 4f
278276

279277
;========= (6a) Access Violation Processing ========
280278
bl do_page_fault

0 commit comments

Comments
 (0)