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
This commit is contained in:
committed by
Michael Ellerman
parent
c45ba4f44f
commit
8dc7f0229b
@ -1318,7 +1318,6 @@ static int emulate_instruction(struct pt_regs *regs)
|
||||
|
||||
if (!user_mode(regs))
|
||||
return -EINVAL;
|
||||
CHECK_FULL_REGS(regs);
|
||||
|
||||
if (get_user(instword, (u32 __user *)(regs->nip)))
|
||||
return -EFAULT;
|
||||
|
Reference in New Issue
Block a user