Skip to content

Commit 8c15fce

Browse files
vineetgarcxxkent
authored andcommitted
ARCv3: MMUv4 enable hacks #3: slow path handler to restore Z flag
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
1 parent 39d6ef3 commit 8c15fce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/arc/mm/tlbex.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ EV_TLBMissD_fast_ret: ; additional label for VDK OS-kit instrumentation
358358
;-------- Common routine to call Linux Page Fault Handler -----------
359359
do_slow_path_pf:
360360

361-
#ifdef CONFIG_ISA_ARCV2
361+
#if !defined(CONFIG_ISA_ARCOMPACT)
362362
; Set Z flag if exception in U mode. Hardware micro-ops do this on any
363363
; taken interrupt/exception, and thus is already the case at the entry
364364
; above, but ensuing code would have already clobbered.

0 commit comments

Comments
 (0)