aboutsummaryrefslogtreecommitdiff
path: root/net/lapb
diff options
context:
space:
mode:
authorChristophe Leroy <[email protected]>2021-07-07 05:55:07 +0000
committerMichael Ellerman <[email protected]>2021-08-07 08:53:59 +1000
commitb5cfc9cd7b0426e94ffd9e9ed79d1b00ace7780a (patch)
tree2a0c709b5cc14eb7d44588b64c41a47798f66a85 /net/lapb
parent62376365048878f770d8b7d11b89b8b3e18018f1 (diff)
powerpc/32: Fix critical and debug interrupts on BOOKE
32 bits BOOKE have special interrupts for debug and other critical events. When handling those interrupts, dedicated registers are saved in the stack frame in addition to the standard registers, leading to a shift of the pt_regs struct. Since commit db297c3b07af ("powerpc/32: Don't save thread.regs on interrupt entry"), the pt_regs struct is expected to be at the same place all the time. Instead of handling a special struct in addition to pt_regs, just add those special registers to struct pt_regs. Fixes: db297c3b07af ("powerpc/32: Don't save thread.regs on interrupt entry") Cc: [email protected] Reported-by: Radu Rendec <[email protected]> Signed-off-by: Christophe Leroy <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/028d5483b4851b01ea4334d0751e7f260419092b.1625637264.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'net/lapb')
0 files changed, 0 insertions, 0 deletions