Commit 4cff1be1 authored by Nicholas Piggin's avatar Nicholas Piggin Committed by Greg Kroah-Hartman
Browse files

powerpc: simplify ppc_save_regs



[ Upstream commit 37195b82 ]

Adjust the pt_regs pointer so the interrupt frame offsets can be used
to save registers.

Signed-off-by: default avatarNicholas Piggin <npiggin@gmail.com>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20221127124942.1665522-7-npiggin@gmail.com


Stable-dep-of: b684c09f ("powerpc: update ppc_save_regs to save current r1 in pt_regs")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent d9a1aaea
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment