Skip to content

Commit 376b327

Browse files
npigginmpe
authored andcommitted
KVM: PPC: Book3S HV: Fix stack frame regs marker
The hard-coded marker is out of date now, fix it using the nice define. Fixes: 17773af ("powerpc/64: use 32-bit immediate for STACK_FRAME_REGS_MARKER") Reported-by: Joel Stanley <[email protected]> Signed-off-by: Nicholas Piggin <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 9474689 commit 376b327

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/powerpc/kvm/book3s_hv_rmhandlers.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2728,7 +2728,7 @@ kvmppc_bad_host_intr:
27282728
std r5, _XER(r1)
27292729
std r6, SOFTE(r1)
27302730
LOAD_PACA_TOC()
2731-
LOAD_REG_IMMEDIATE(3, 0x7265677368657265)
2731+
LOAD_REG_IMMEDIATE(3, STACK_FRAME_REGS_MARKER)
27322732
std r3, STACK_FRAME_OVERHEAD-16(r1)
27332733

27342734
/*

0 commit comments

Comments
 (0)