powerpc: add a definition for the marker offset within the interrupt frame
authorNicholas Piggin <npiggin@gmail.com>
Sun, 27 Nov 2022 12:49:33 +0000 (22:49 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 2 Dec 2022 06:54:08 +0000 (17:54 +1100)
commitd2e8ff9f1492f44c5a6d93f759eea27574d753de
tree94a48260e9724189fb8ab980ac04495c4ea3b87b
parentc03be0a3f3cc656eab5c427b78959b8f1b169a11
powerpc: add a definition for the marker offset within the interrupt frame

Define a constant rather than open-code the offset for the
"regs" marker.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20221127124942.1665522-9-npiggin@gmail.com
arch/powerpc/include/asm/ptrace.h
arch/powerpc/kernel/entry_32.S
arch/powerpc/kernel/exceptions-64e.S
arch/powerpc/kernel/exceptions-64s.S
arch/powerpc/kernel/head_32.h
arch/powerpc/kernel/head_booke.h
arch/powerpc/kernel/interrupt_64.S
arch/powerpc/kvm/book3s_hv_rmhandlers.S