Skip to content

Commit

Permalink
ARC: entry: ARcompact EV_ProtV to use r10 directly
Browse files Browse the repository at this point in the history
Signed-off-by: Vineet Gupta <vgupta@kernel.org>
  • Loading branch information
Vineet Gupta committed Aug 18, 2023
1 parent c505b0d commit 6b606c8
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions arch/arc/kernel/entry-compact.S
Original file line number Diff line number Diff line change
Expand Up @@ -254,9 +254,8 @@ END(handle_interrupt_level1)

ENTRY(EV_TLBProtV)

EXCEPTION_PROLOGUE
EXCEPTION_PROLOGUE ; ECR returned in r10

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

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

;========= (6a) Access Violation Processing ========
bl do_page_fault
Expand Down

0 comments on commit 6b606c8

Please sign in to comment.