diff options
author | Nicholas Piggin <npiggin@gmail.com> | 2023-03-25 22:29:00 +1000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2023-04-11 23:13:32 +1000 |
commit | 5088a6246bd3dcfea504376f356683f750136f7f (patch) | |
tree | 5c05ad5753403bafde67c2575001e9de92efe33c /arch/powerpc/kernel/process.c | |
parent | af5ca9d5c8b45244b237d7a5534e1ec2d01cce8e (diff) |
powerpc/64: ret_from_fork avoid restoring regs twice
If the system call return path always restores NVGPRs then there is no
need for ret_from_fork to do it. The HANDLER_RESTORE_NVGPRS does the
right thing for this.
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20230325122904.2375060-5-npiggin@gmail.com
Diffstat (limited to 'arch/powerpc/kernel/process.c')
0 files changed, 0 insertions, 0 deletions