Skip to content

Commit c080a17

Browse files
daxtensmpe
authored andcommitted
powerpc/64s/exception: Clean up a missed SRR specifier
Nick's patch cleaning up the SRR specifiers in exception-64s.S missed a single instance of EXC_HV_OR_STD. Clean that up. Caught by clang's integrated assembler. Fixes: 3f7fbd9 ("powerpc/64s/exception: Clean up SRR specifiers") Signed-off-by: Daniel Axtens <[email protected]> Acked-by: Nicholas Piggin <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 73ac798 commit c080a17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/powerpc/kernel/exceptions-64s.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,7 @@ DEFINE_FIXED_SYMBOL(\name\()_common_real)
466466

467467
ld r10,PACAKMSR(r13) /* get MSR value for kernel */
468468
/* MSR[RI] is clear iff using SRR regs */
469-
.if IHSRR == EXC_HV_OR_STD
469+
.if IHSRR_IF_HVMODE
470470
BEGIN_FTR_SECTION
471471
xori r10,r10,MSR_RI
472472
END_FTR_SECTION_IFCLR(CPU_FTR_HVMODE)

0 commit comments

Comments
 (0)