Skip to content

Commit

Permalink
KVM: PPC: Book3S HV: Fix stack frame regs marker
Browse files Browse the repository at this point in the history
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]
  • Loading branch information
npiggin authored and mpe committed Oct 7, 2022
1 parent 9474689 commit 376b327
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/powerpc/kvm/book3s_hv_rmhandlers.S
Original file line number Diff line number Diff line change
Expand Up @@ -2728,7 +2728,7 @@ kvmppc_bad_host_intr:
std r5, _XER(r1)
std r6, SOFTE(r1)
LOAD_PACA_TOC()
LOAD_REG_IMMEDIATE(3, 0x7265677368657265)
LOAD_REG_IMMEDIATE(3, STACK_FRAME_REGS_MARKER)
std r3, STACK_FRAME_OVERHEAD-16(r1)

/*
Expand Down

0 comments on commit 376b327

Please sign in to comment.