Skip to content

Commit 372734d

Browse files
daxtensgregkh
authored andcommitted
powerpc/64s/exception: Clean up a missed SRR specifier
[ Upstream commit c080a17 ] 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 Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent df7dbfc commit 372734d

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
@@ -470,7 +470,7 @@ DEFINE_FIXED_SYMBOL(\name\()_common_real)
470470

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

0 commit comments

Comments
 (0)