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 <dja@axtens.net> Acked-by: Nicholas Piggin <npiggin@gmail.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20210225031006.1204774-2-dja@axtens.net
1 parent 73ac798 commit c080a17

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)