diff options
author | Nicholas Piggin <npiggin@gmail.com> | 2021-03-16 13:42:04 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2021-04-14 16:04:44 +0300 |
commit | 8dc7f0229b7892ccb23e19c9f30511c68cc0fdcc (patch) | |
tree | 6ef6627a2883d155912ded4ca97b7ac01b1ffe09 /arch/powerpc/lib | |
parent | c45ba4f44f6b9c98a5fc1511d8853ad6843c877b (diff) | |
download | linux-8dc7f0229b7892ccb23e19c9f30511c68cc0fdcc.tar.xz |
powerpc: remove partial register save logic
All subarchitectures always save all GPRs to pt_regs interrupt frames
now. Remove FULL_REGS and associated bits.
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210316104206.407354-11-npiggin@gmail.com
Diffstat (limited to 'arch/powerpc/lib')
-rw-r--r-- | arch/powerpc/lib/sstep.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/powerpc/lib/sstep.c b/arch/powerpc/lib/sstep.c index 739ea6dc461c..45bda2520755 100644 --- a/arch/powerpc/lib/sstep.c +++ b/arch/powerpc/lib/sstep.c @@ -1401,10 +1401,6 @@ int analyse_instr(struct instruction_op *op, const struct pt_regs *regs, break; } - /* Following cases refer to regs->gpr[], so we need all regs */ - if (!FULL_REGS(regs)) - return -1; - rd = (word >> 21) & 0x1f; ra = (word >> 16) & 0x1f; rb = (word >> 11) & 0x1f; |